mirror of
https://github.com/eworm-de/routeros-scripts.git
synced 2026-08-01 14:11:35 +00:00
FIXUP
This commit is contained in:
parent
94ea51da09
commit
8678792837
3 changed files with 6 additions and 6 deletions
|
|
@ -41,7 +41,6 @@
|
|||
|
||||
:foreach Lease in=[ /ip/dhcp-server/lease/find where !dynamic disabled comment~"\\bhotspot-to-wpa\\b" ] do={
|
||||
:local LeaseVal [ $ParseKeyValueStore [ /ip/dhcp-server/lease/get $Lease comment ] ];
|
||||
/ip/dhcp-server/lease/remove $Lease;
|
||||
|
||||
:if (($LeaseVal->"hotspot-to-wpa") != true) do={
|
||||
:continue;
|
||||
|
|
@ -56,7 +55,8 @@
|
|||
:set UserVal [ /ip/hotspot/user/get [ find where name=$UserName ] ];
|
||||
}
|
||||
:local UserInfo [ $ParseKeyValueStore ($UserVal->"comment") ];
|
||||
:local Hotspot [ /ip/hotspot/host/get [ find where mac-address=$MacAddress ] server ];
|
||||
:local Hotspot [ /ip/hotspot/host/get [ find where mac-address=$MacAddress authorized ] server ];
|
||||
/ip/dhcp-server/lease/remove $Lease;
|
||||
|
||||
:if ([ :len [ /caps-man/access-list/find where \
|
||||
:if ([ :len [ /interface/wifi/access-list/find where \
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue