mirror of
https://github.com/Telecominfraproject/wlan-ap.git
synced 2025-10-29 09:32:34 +00:00
uspot: handle_request: abort on spotfilter error
Signed-off-by: Thibaut VARÈNE <hacks@slashdirt.org>
This commit is contained in:
committed by
John Crispin
parent
56549a44ea
commit
cf2f80fd3c
@@ -281,6 +281,13 @@ return {
|
||||
address: ctx.mac,
|
||||
});
|
||||
|
||||
// stop if spotfilter doesn't reply
|
||||
if (!connected) {
|
||||
this.syslog(ctx, 'spotfilter error');
|
||||
include('error.uc', ctx);
|
||||
return NULL;
|
||||
}
|
||||
|
||||
if (!uam && connected?.state) {
|
||||
include('connected.uc', ctx);
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user