Changeset 99
- Timestamp:
- 04/23/04 07:37:43 (5 years ago)
- Files:
-
- trunk/wifidog/ChangeLog (modified) (1 diff)
- trunk/wifidog/src/firewall.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/wifidog/ChangeLog
r95 r99 1 1 # $Header$ 2 2004-04-23 Philippe April <papril777@yahoo.com> 3 * Fixed a debug line 4 2 5 2004-04-22 Philippe April <papril777@yahoo.com> 3 6 * Major changes, cleaned up code trunk/wifidog/src/firewall.c
r95 r99 54 54 char *command[] = {script, "allow", ip, mac, s_tag, NULL}; 55 55 56 debug(LOG_DEBUG, "Allowing ip %s mac %s with MARK %s", ip, mac, s_tag);57 58 56 sprintf(s_tag, "%-10d", tag); 59 57 sprintf(script, "%s/%s/%s", config.fwscripts_path, config.fwtype, 60 58 SCRIPT_FWACCESS); 59 60 debug(LOG_DEBUG, "Allowing ip %s mac %s with MARK %s", ip, mac, s_tag); 61 61 62 62 if (-1 == (stat(script, &st))) { … … 88 88 char *command[] = {script, "deny", ip, mac, s_tag, NULL}; 89 89 90 debug(LOG_DEBUG, "Denying ip %s mac %s with MARK %s", ip, mac, s_tag);91 92 90 sprintf(s_tag, "%-10d", tag); 93 91 sprintf(script, "%s/%s/%s", config.fwscripts_path, config.fwtype, 94 92 SCRIPT_FWACCESS); 93 94 debug(LOG_DEBUG, "Denying ip %s mac %s with MARK %s", ip, mac, s_tag); 95 95 96 96 if (-1 == (stat(script, &st))) {
