1
0
mirror of https://github.com/eworm-de/routeros-scripts.git synced 2024-05-11 05:55:19 +00:00

hotspot-to-wpa: always use first entry to place before

This commit is contained in:
Christian Hesse
2021-01-03 20:34:19 +01:00
parent 3eccf923cc
commit 90672798e8

View File

@ -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;