mirror of
https://github.com/Telecominfraproject/wlan-ap.git
synced 2025-12-16 21:07:14 +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) {
|
function hapd_subscriber_notify_cb(notify) {
|
||||||
if (notify.type != 'coa')
|
if (notify.type != 'coa')
|
||||||
return 0;
|
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);
|
let iface = interface_find(notify.data.address);
|
||||||
if (!iface)
|
if (!iface)
|
||||||
return 0;
|
return 0;
|
||||||
|
|||||||
Reference in New Issue
Block a user