]> git.meshlink.io Git - meshlink/commitdiff
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 8a63615d658b6321ac1df565dc708be177037f59..794bb73f0e460f400d6d2dccf8eda89f63e97103 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);