From 90672798e8d00a8bf73ee69215706107ec63f6c8 Mon Sep 17 00:00:00 2001 From: Christian Hesse Date: Sun, 3 Jan 2021 20:34:19 +0100 Subject: hotspot-to-wpa: always use first entry to place before --- hotspot-to-wpa | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- cgit v1.2.3-54-g00ecf