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:
@ -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;
|
||||
|
Reference in New Issue
Block a user