Changeset 40
- Timestamp:
- 04/10/04 22:19:09 (9 years ago)
- Files:
-
- 1 modified
-
trunk/wifidog/src/gateway.c (modified) (5 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/wifidog/src/gateway.c
r34 r40 30 30 extern s_config config; 31 31 32 void main_loop(void) 32 void 33 main_loop(void) 33 34 { 34 35 struct timeval tv; … … 70 71 if (result < 0) { 71 72 /* 72 * fixme73 * FIXME 73 74 * An error occurred - should we abort? reboot the device ? 74 75 */ 76 /* FIXME remove firewall rules before exiting */ 75 77 debug(D_LOG_ERR, "httpdGetConnection returned %d", 76 78 result); … … 108 110 } 109 111 110 int112 int 111 113 main(int argc, char **argv) 112 114 { … … 153 155 } 154 156 155 void termination_handler(int s) 157 void 158 termination_handler(int s) 156 159 { 157 160 fw_destroy(); … … 161 164 } 162 165 163 void init_signals() 166 void 167 init_signals() 164 168 { 165 169 struct sigaction sa;
