projects
/
tinc
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Various fixes, tinc is now somewhat capable of actually working again.
[tinc]
/
src
/
process.c
diff --git
a/src/process.c
b/src/process.c
index
d971a0f
..
525836b
100644
(file)
--- a/
src/process.c
+++ b/
src/process.c
@@
-17,7
+17,7
@@
along with this program; if not, write to the Free Software
Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
along with this program; if not, write to the Free Software
Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
- $Id: process.c,v 1.1.2.2
7 2001/10/27 13:13:35
guus Exp $
+ $Id: process.c,v 1.1.2.2
9 2001/10/28 10:16:18
guus Exp $
*/
#include "config.h"
*/
#include "config.h"
@@
-380,7
+380,7
@@
sigusr2_handler(int a, siginfo_t *info, void *b)
{
dump_device_stats();
dump_nodes();
{
dump_device_stats();
dump_nodes();
- dump_
vertic
es();
+ dump_
edg
es();
dump_subnets();
}
dump_subnets();
}
@@
-437,6
+437,9
@@
setup_signals(void)
sigaction(i, &act, NULL);
}
sigaction(i, &act, NULL);
}
+ if(!do_detach)
+ sighandlers[3].handler = SIG_DFL;
+
/* Then, for each known signal that we want to catch, assign a
handler to the signal, with error checking this time. */
for(i = 0; sighandlers[i].signal; i++)
/* Then, for each known signal that we want to catch, assign a
handler to the signal, with error checking this time. */
for(i = 0; sighandlers[i].signal; i++)