diff options
author | 2015-09-30 12:21:46 +0000 | |
---|---|---|
committer | 2015-09-30 12:21:46 +0000 | |
commit | 86c4944e0b2387d06b6ffe8b2b335bca0c8998b2 (patch) | |
tree | 22053eb709433fdbb3e3cbafb2de1cb96f747fb1 | |
parent | Remove remnants of sppp's special queue handling for telnet/rlogin/ftp, (diff) | |
download | wireguard-openbsd-86c4944e0b2387d06b6ffe8b2b335bca0c8998b2.tar.xz wireguard-openbsd-86c4944e0b2387d06b6ffe8b2b335bca0c8998b2.zip |
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 |