mirror of
https://github.com/Telecominfraproject/wlan-ap.git
synced 2025-12-15 20:37:20 +00:00
uspot: make CoA work with radius-gw-proxy
Signed-off-by: John Crispin <john@phrozen.org>
This commit is contained in:
@@ -361,7 +361,7 @@ function accounting(interface) {
|
||||
function hapd_subscriber_notify_cb(notify) {
|
||||
if (notify.type != 'coa')
|
||||
return 0;
|
||||
notify.data.address = uc(notify.data.address);
|
||||
notify.data.address = uc(split(notify.data.address, ':')[0]);
|
||||
let iface = interface_find(notify.data.address);
|
||||
if (!iface)
|
||||
return 0;
|
||||
|
||||
Reference in New Issue
Block a user