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
8678792837
commit
f2bffb1c68
6 changed files with 25 additions and 19 deletions
|
|
@ -37,9 +37,12 @@
|
|||
:error false;
|
||||
}
|
||||
|
||||
:local Hotspot [ /ip/hotspot/host/get [ find where mac-address=$MacAddress authorized ] server ];
|
||||
|
||||
/ip/dhcp-server/lease/set \
|
||||
comment=[ :serialize to=json ({ \
|
||||
"hotspot-to-wpa"=true; \
|
||||
"hotspot"=$Hotspot; \
|
||||
"address"=$Address; \
|
||||
"interface"=$Interface; \
|
||||
"mac-address"=$MacAddress; \
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue