]> git.stg.codes - stg.git/blobdiff - projects/stargazer/plugins/other/smux/smux.cpp
Fix raw ip tests
[stg.git] / projects / stargazer / plugins / other / smux / smux.cpp
index 61ed80269f9bf9275460cb451c43d12f8575c761..5367e249b00c739fb548d772f852ae9f6789d8f0 100644 (file)
@@ -274,6 +274,10 @@ return 0;
 
 void * SMUX::Runner(void * d)
 {
+sigset_t signalSet;
+sigfillset(&signalSet);
+pthread_sigmask(SIG_BLOCK, &signalSet, NULL);
+
 SMUX * smux = static_cast<SMUX *>(d);
 
 smux->Run();