Changeset 10794 in hybrid for branches/releng-9.0
- Timestamp:
- May 12, 2012, 4:30:11 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/releng-9.0/nanobsd/files/usr/local/www/wlportal/index.cgi
r10725 r10794 151 151 # MAC is whitelisted 152 152 continue 153 elif stored_mac.has_key(ip) and active_mac[ip] == stored_mac[ip]: 154 # previous record found 155 # Stored v.s. Active happy 153 elif not active_mac.has_key(ip) and stored_mac.has_key(ip): 154 # In-active connection - Keep entry with normal expire time, as user 155 # might come back (temponary disconnect). 156 continue 157 elif active_mac.has_key(ip) and stored_mac.has_key(ip) and active_mac[ip] == stored_mac[ip]: 158 # Active connection - previous record found - Stored v.s. Active happy 156 159 continue 157 160 else: 158 161 self.delete(ip) 159 162 deleted_entries =+ 1 160 163 return deleted_entries 161 164
Note:
See TracChangeset
for help on using the changeset viewer.