diff options
Diffstat (limited to 'flowtop.c')
-rw-r--r-- | flowtop.c | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -211,6 +211,8 @@ static void signal_handler(int number) { switch (number) { case SIGINT: + case SIGQUIT: + case SIGTERM: sigint = 1; break; case SIGHUP: @@ -1171,6 +1173,8 @@ int main(int argc, char **argv) rcu_init(); register_signal(SIGINT, signal_handler); + register_signal(SIGQUIT, signal_handler); + register_signal(SIGTERM, signal_handler); register_signal(SIGHUP, signal_handler); init_geoip(1); |