Ignore signals in all but the main thread.
[tinc] / src / net.h
index 2be797d..d39dd93 100644 (file)
--- a/src/net.h
+++ b/src/net.h
@@ -158,5 +158,6 @@ extern void load_all_subnets();
 #endif
 
 extern mutex_t mutex;
+extern bool running;
 
 #endif                                                 /* __TINC_NET_H__ */