hotspot-to-wpa-cleanup: drop hard-coded timeout, get from comment

This keeps the default of four weeks, though.
This commit is contained in:
Christian Hesse 2023-06-27 21:59:18 +02:00
parent 16a551a0ee
commit 64ab9eec67
3 changed files with 22 additions and 12 deletions

View file

@ -44,6 +44,11 @@ this example the server is called `hotspot-to-wpa`.
/ip/dhcp-server/set lease-script=lease-script comment="hotspot-to-wpa=wpa" hotspot-to-wpa;
You can specify the timeout after which a device is removed from leases and
access-list. The default is four weeks.
/ip/dhcp-server/set lease-script=lease-script comment="hotspot-to-wpa=wpa, timeout=2w" hotspot-to-wpa;
Configuration
-------------