uspot: terminate ACCT sessions upon logoff request

Signed-off-by: John Crispin <john@phrozen.org>
This commit is contained in:
John Crispin
2023-12-13 10:57:35 +01:00
parent 5bf9d31001
commit 00efc6f224

View File

@@ -460,8 +460,10 @@ function run_service() {
address = uc(address);
if (interfaces[interface].clients[address])
if (interfaces[interface].clients[address]) {
radius_terminate(interface, address, radtc_logout);
client_remove(interface, address, 'client_remove event');
}
return 0;
},