- More s/vertex/edge/g
[oweals/tinc.git] / src / process.c
index d971a0f23b2eb9d6f2798f2c5e7f6e369f2c7f4e..525836b82b7a30d25b6bfc30c496812816704919 100644 (file)
@@ -17,7 +17,7 @@
     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.27 2001/10/27 13:13:35 guus Exp $
+    $Id: process.c,v 1.1.2.29 2001/10/28 10:16:18 guus Exp $
 */
 
 #include "config.h"
@@ -380,7 +380,7 @@ sigusr2_handler(int a, siginfo_t *info, void *b)
 {
   dump_device_stats();
   dump_nodes();
-  dump_vertices();
+  dump_edges();
   dump_subnets();
 }
 
@@ -437,6 +437,9 @@ setup_signals(void)
       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++)