Skip to content

Commit

Permalink
Update google_ip_prefix_diff.php
Browse files Browse the repository at this point in the history
  • Loading branch information
futureweb authored Nov 20, 2024
1 parent 8a218c9 commit b0bd486
Showing 1 changed file with 8 additions and 5 deletions.
13 changes: 8 additions & 5 deletions google_ip_prefix_diff.php
Original file line number Diff line number Diff line change
Expand Up @@ -226,10 +226,13 @@ function get_google_ip_prefixes_difference()
}
}

/*
$ip_prefixes = get_google_ip_prefixes_difference();
foreach ($ip_prefixes as $cidr) {
echo $cidr . PHP_EOL;
// Check if the script is being run directly
if (php_sapi_name() === 'cli') {
$ip_prefixes = get_google_ip_prefixes_difference();

// Output each CIDR to the console
foreach ($ip_prefixes as $cidr) {
echo $cidr . PHP_EOL;
}
}
*/
?>

0 comments on commit b0bd486

Please sign in to comment.