This commit is contained in:
Christian Hesse 2026-07-31 23:38:04 +02:00
parent 8678792837
commit f2bffb1c68
6 changed files with 25 additions and 19 deletions

View file

@ -39,9 +39,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; \