Changeset 18 for trunk/wifidog/src/conf.c
- Timestamp:
- 03/13/04 00:18:22 (9 years ago)
- Files:
-
- 1 modified
-
trunk/wifidog/src/conf.c (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/wifidog/src/conf.c
r9 r18 36 36 #define DEFAULT_CLIENTTIMEOUT 5 37 37 #define DEFAULT_CHECKINTERVAL 5 38 #define DEFAULT_FWSCRIPTS_PATH "." 39 #define DEFAULT_FWTYPE "." 38 40 39 41 s_config config; … … 56 58 oClientTimeout, 57 59 oCheckInterval, 60 oFWScriptsPath, 61 oFWType, 58 62 } OpCodes; 59 63 … … 77 81 { "clienttimeout", oClientTimeout }, 78 82 { "checkinterval", oCheckInterval }, 83 { "fwscriptspath", oFWScriptsPath }, 84 { "fwtype", oFWType }, 79 85 { NULL, oBadOption }, 80 86 }; … … 100 106 config.clienttimeout = DEFAULT_CLIENTTIMEOUT; 101 107 config.checkinterval = DEFAULT_CHECKINTERVAL; 108 config.fwscripts_path = DEFAULT_FWSCRIPTS_PATH; 109 config.fwtype = DEFAULT_FWTYPE; 102 110 } 103 111
