 73d3f88418
			
		
	
	
		73d3f88418
		
	
	
	
	
		
			
			This extends the terms.php implementation of Hotspot 2.0 Terms and Conditions server to allow it to interact with hostapd(AS) to clear the filtering rules from the AP. After requesting hostapd to send out the CoA-Request, terms.php waits for up to 10 seconds to see whether the current_sessions table gets an update to indicate that filtering has been successfully disabled. Signed-off-by: Jouni Malinen <jouni@codeaurora.org>
		
			
				
	
	
		
			7 lines
		
	
	
	
		
			227 B
		
	
	
	
		
			PHP
		
	
	
	
	
	
			
		
		
	
	
			7 lines
		
	
	
	
		
			227 B
		
	
	
	
		
			PHP
		
	
	
	
	
	
| <?php
 | |
| $osu_root = "/home/user/hs20-server";
 | |
| $osu_db = "sqlite:$osu_root/AS/DB/eap_user.db";
 | |
| $t_c_file = "$osu_root/terms-and-conditions";
 | |
| $t_c_timestamp = 123456789;
 | |
| $hostapd_ctrl = "udg:///home/user/hs20-server/AS/ctrl/as"
 | |
| ?>
 |