diff options
-rw-r--r-- | ifpps.c | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -96,6 +96,8 @@ static void signal_handler(int number) { switch (number) { case SIGINT: + case SIGQUIT: + case SIGTERM: sigint = 1; break; case SIGHUP: @@ -1401,6 +1403,8 @@ int main(int argc, char **argv) panic("This is no networking device!\n"); register_signal(SIGINT, signal_handler); + register_signal(SIGQUIT, signal_handler); + register_signal(SIGSTOP, signal_handler); register_signal(SIGHUP, signal_handler); cpus = get_number_cpus(); |