diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2015-09-30 12:21:47 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2015-09-30 12:21:47 +0000 |
commit | 5c56ef6fa84bb1145435124b6c536acddee7fbc5 (patch) | |
tree | 057991d2da4361751ca679545b7d0e9c34d98646 | |
parent | af05600d2385b54fa7636e6102bbe9ccba9508a9 (diff) |
remove old self-kill() in the signal handler. must predate the
signal handler audit. found while adapting ping6 to tame.
ok kettenis
-rw-r--r-- | sbin/ping6/ping6.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/sbin/ping6/ping6.c b/sbin/ping6/ping6.c index ac523acb9f2..39d6b2ba164 100644 --- a/sbin/ping6/ping6.c +++ b/sbin/ping6/ping6.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ping6.c,v 1.116 2015/09/16 10:12:03 florian Exp $ */ +/* $OpenBSD: ping6.c,v 1.117 2015/09/30 12:21:46 deraadt Exp $ */ /* $KAME: ping6.c,v 1.163 2002/10/25 02:19:06 itojun Exp $ */ /* @@ -1856,9 +1856,6 @@ onint(int signo) { summary(signo); - (void)signal(SIGINT, SIG_DFL); - (void)kill(getpid(), SIGINT); - if (signo) _exit(nreceived ? 0 : 1); else |