mirror of
				https://github.com/Telecominfraproject/wlan-ap.git
				synced 2025-10-31 18:38:10 +00:00 
			
		
		
		
	uspot: terminate ACCT sessions upon logoff request
Signed-off-by: John Crispin <john@phrozen.org>
This commit is contained in:
		| @@ -460,8 +460,10 @@ function run_service() { | |||||||
|  |  | ||||||
| 				address = uc(address); | 				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'); | 					client_remove(interface, address, 'client_remove event'); | ||||||
|  | 				} | ||||||
|  |  | ||||||
| 				return 0; | 				return 0; | ||||||
| 			}, | 			}, | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 John Crispin
					John Crispin