diff options
author | Christian Hesse <mail@eworm.de> | 2024-09-25 11:01:40 +0200 |
---|---|---|
committer | Christian Hesse <mail@eworm.de> | 2024-09-25 11:01:40 +0200 |
commit | 60aa553219b289e9d3e4ef7f0bb7db471f45af69 (patch) | |
tree | 8710a2fb3d4710b96c4463d3c382100e17001f6b /hotspot-to-wpa-cleanup.template.rsc | |
parent | c708832b69ece50eca184b0946eebd5b3c579475 (diff) |
hotspot-to-wpa-cleanup: only match access-list with mac-address
Diffstat (limited to 'hotspot-to-wpa-cleanup.template.rsc')
-rw-r--r-- | hotspot-to-wpa-cleanup.template.rsc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hotspot-to-wpa-cleanup.template.rsc b/hotspot-to-wpa-cleanup.template.rsc index 06dd9f0..081f3d0 100644 --- a/hotspot-to-wpa-cleanup.template.rsc +++ b/hotspot-to-wpa-cleanup.template.rsc @@ -54,7 +54,7 @@ :foreach Client in=[ /caps-man/access-list/find where comment~"^hotspot-to-wpa:" \ :foreach Client in=[ /interface/wifi/access-list/find where comment~"^hotspot-to-wpa:" \ - !(comment~[ /system/clock/get date ]) ] do={ + !(comment~[ /system/clock/get date ]) mac-address ] do={ :local ClientVal [ /caps-man/access-list/get $Client ]; :local ClientVal [ /interface/wifi/access-list/get $Client ]; :if ([ :len [ /ip/dhcp-server/lease/find where !dynamic comment~"^hotspot-to-wpa:" \ |