summaryrefslogtreecommitdiffstats
path: root/skripti/ipranges.php
diff options
context:
space:
mode:
authorAnton Luka Šijanec <anton@sijanec.eu>2023-03-19 14:18:26 +0100
committerAnton Luka Šijanec <anton@sijanec.eu>2023-03-19 14:18:26 +0100
commitd12fe792b0cf9cb89179816ff94e23322721d2b2 (patch)
tree826ec31122488f8dccd244e2cc909d2a99c24552 /skripti/ipranges.php
parentipranges.php (diff)
downloadr-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 '')
-rwxr-xr-xskripti/ipranges.php4
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;
}