aboutsummaryrefslogtreecommitdiffstats
path: root/update-gre-address
diff options
context:
space:
mode:
authorGravatar Daniel Ziegenberg <daniel@ziegenberg.at>2020-12-30 12:38:10 +0100
committerGravatar Christian Hesse <mail@eworm.de>2020-12-30 12:42:03 +0100
commitca6668950b045f1c3eb775a7203ea26ddba5e4d8 (patch)
tree2278bc1745b996c414d441dbd578e447e039032a /update-gre-address
parent97ade535d9789b35652f294bff4f489d868a1130 (diff)
collect-wireless-mac: always select first lease from dhcp-server
The script fails at setting the hostname when there are multiple leases for a mac address. In line 36 and 37 the hostname gets set from the data the lease. When there is more than one lease for a specific mac address this fails with the message "invalid internal item number". More than one lease for a mac address is possible, if you have more than one SSID on a capsman and a single device can login into more than one SSID. Fixes #10 Signed-off-by: Christian Hesse <mail@eworm.de>
Diffstat (limited to 'update-gre-address')
0 files changed, 0 insertions, 0 deletions