Clean up the SIGINT handler.
authorGuus Sliepen <guus@tinc-vpn.org>
Fri, 2 Aug 2013 18:50:19 +0000 (20:50 +0200)
committerGuus Sliepen <guus@tinc-vpn.org>
Fri, 2 Aug 2013 18:50:19 +0000 (20:50 +0200)
src/net.c

index 8a63615..794bb73 100644 (file)
--- a/src/net.c
+++ b/src/net.c
@@ -454,9 +454,10 @@ int main_loop(void) {
 
 #ifndef HAVE_MINGW
        signal_del(&sighup);
-       signal_del(&sigalrm);
-       signal_del(&sigquit);
        signal_del(&sigterm);
+       signal_del(&sigquit);
+       signal_del(&sigint);
+       signal_del(&sigalrm);
 #endif
 
        timeout_del(&periodictimer);