diff options
author | Anton Luka Šijanec <anton@sijanec.eu> | 2023-03-19 14:18:26 +0100 |
---|---|---|
committer | Anton Luka Šijanec <anton@sijanec.eu> | 2023-03-19 14:18:26 +0100 |
commit | d12fe792b0cf9cb89179816ff94e23322721d2b2 (patch) | |
tree | 826ec31122488f8dccd244e2cc909d2a99c24552 /skripti/ipranges.php | |
parent | ipranges.php (diff) | |
download | r-d12fe792b0cf9cb89179816ff94e23322721d2b2.tar r-d12fe792b0cf9cb89179816ff94e23322721d2b2.tar.gz r-d12fe792b0cf9cb89179816ff94e23322721d2b2.tar.bz2 r-d12fe792b0cf9cb89179816ff94e23322721d2b2.tar.lz r-d12fe792b0cf9cb89179816ff94e23322721d2b2.tar.xz r-d12fe792b0cf9cb89179816ff94e23322721d2b2.tar.zst r-d12fe792b0cf9cb89179816ff94e23322721d2b2.zip |
Diffstat (limited to 'skripti/ipranges.php')
-rwxr-xr-x | skripti/ipranges.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/skripti/ipranges.php b/skripti/ipranges.php index 86fbe43..c1d0552 100755 --- a/skripti/ipranges.php +++ b/skripti/ipranges.php @@ -44,8 +44,8 @@ foreach ($c as $k => $v) { } echo "};" . PHP_EOL; } -$n = str_replace("/", "", str_replace(".", "", array_shift($argv))); -echo "acl $n {" . PHP_EOL; +str_replace("/", "", str_replace(".", "", array_shift($argv))); +echo "acl ipranges.php {" . PHP_EOL; foreach ($argv as $a) { echo "\t$a;" . PHP_EOL; } |