Changeset 110 for trunk/wifidog/src/conf.c
- Timestamp:
- 05/04/04 21:41:42 (9 years ago)
- Files:
-
- 1 modified
-
trunk/wifidog/src/conf.c (modified) (5 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/wifidog/src/conf.c
r95 r110 37 37 #define DEFAULT_CLIENTTIMEOUT 5 38 38 #define DEFAULT_CHECKINTERVAL 5 39 #define DEFAULT_FWSCRIPTS_PATH "."40 #define DEFAULT_FWTYPE "."41 39 #define DEFAULT_LOG_SYSLOG 0 42 40 #define DEFAULT_SYSLOG_FACILITY LOG_DAEMON … … 61 59 oClientTimeout, 62 60 oCheckInterval, 63 oFWScriptsPath,64 oFWType,65 61 oSyslogFacility, 66 62 } OpCodes; … … 85 81 { "clienttimeout", oClientTimeout }, 86 82 { "checkinterval", oCheckInterval }, 87 { "fwscriptspath", oFWScriptsPath },88 { "fwtype", oFWType },89 83 { "syslogfacility", oSyslogFacility }, 90 84 { NULL, oBadOption }, … … 110 104 config.clienttimeout = DEFAULT_CLIENTTIMEOUT; 111 105 config.checkinterval = DEFAULT_CHECKINTERVAL; 112 config.fwscripts_path = DEFAULT_FWSCRIPTS_PATH;113 config.fwtype = DEFAULT_FWTYPE;114 106 config.syslog_facility = DEFAULT_SYSLOG_FACILITY; 115 107 config.daemon = -1; … … 237 229 sscanf(p1, "%d", &config.clienttimeout); 238 230 break; 239 case oFWScriptsPath:240 config.fwscripts_path = get_string(p1);241 break;242 case oFWType:243 config.fwtype = get_string(p1);244 break;245 231 case oSyslogFacility: 246 232 sscanf(p1, "%d", &config.syslog_facility);
