aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Christian Hesse <mail@eworm.de>2021-01-03 20:34:19 +0100
committerGravatar Christian Hesse <mail@eworm.de>2021-01-03 20:34:19 +0100
commit90672798e8d00a8bf73ee69215706107ec63f6c8 (patch)
tree366d77097e9e7cd394da3eceef65d08a2fcad9a9
parent3eccf923cc6e29f2f5b27b882e8cec574e2976e6 (diff)
hotspot-to-wpa: always use first entry to place before
-rw-r--r--hotspot-to-wpa2
1 files changed, 1 insertions, 1 deletions
diff --git a/hotspot-to-wpa b/hotspot-to-wpa
index 54a9e8e..ca11775 100644
--- a/hotspot-to-wpa
+++ b/hotspot-to-wpa
@@ -17,7 +17,7 @@
/ caps-man access-list add comment="--- hotspot-to-wpa above ---" disabled=yes;
$LogPrintExit warning "Added disabled access-list entry with comment '--- hotspot-to-wpa above ---'." false;
}
-:local PlaceBefore [ / caps-man access-list find where comment="--- hotspot-to-wpa above ---" disabled ];
+:local PlaceBefore ([ / caps-man access-list find where comment="--- hotspot-to-wpa above ---" disabled ]->0);
$LogPrintExit info ("Adding/updating accesslist entry for mac address " . $MacAddress . \
" (user " . $UserName . ").") false;