Changeset 91
- Timestamp:
- 04/20/04 22:18:02 (9 years ago)
- Location:
- trunk/wifidog
- Files:
-
- 2 modified
-
ChangeLog (modified) (1 diff)
-
src/firewall.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/wifidog/ChangeLog
r90 r91 1 1 # $Header$ 2 2004-04-19 Philippe April <papril777@yahoo.com> 3 * A lot of changes regarding debugging facilities and added logging 4 to syslog 2 2004-04-20 Alexandre Carmel-Veilleux <acv@acv.ca> 3 * fixed expiration time 5 4 6 5 2004-04-19 Philippe April <papril777@yahoo.com> 7 * Changed some debugging severity 6 * A lot of changes regarding debugging facilities and added logging 7 to syslog 8 9 2004-04-19 Philippe April <papril777@yahoo.com> 10 * Changed some debugging severity 8 11 9 12 2004-04-19 Benoit Gr�goire <bock@step.polymtl.ca> -
trunk/wifidog/src/firewall.c
r90 r91 245 245 246 246 p1 = node_find_by_ip(ip); 247 248 if (p1->counter == counter) { 247 248 if (!(p1) || (p1->rights->last_checked + 249 (config.checkinterval * 250 config.clienttimeout)) > time(NULL)) { 251 /* Do nothing */ 252 } else if (p1->counter == counter) { 249 253 /* expire clients for inactivity */ 250 254 debug(LOG_INFO, "Client %s was " … … 253 257 p1->rights->profile); 254 258 node_delete(p1); 255 } else if (!(!(p1) || !(p1->active) || 256 (p1->rights->last_checked + 257 (config.checkinterval * 258 config.clienttimeout)) > time(NULL))) { 259 259 } else if (!(p1->active)) { 260 260 p1->rights->last_checked = time(NULL); 261 261 p1->counter = counter;
