summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorflorian <florian@openbsd.org>2014-07-09 09:39:54 +0000
committerflorian <florian@openbsd.org>2014-07-09 09:39:54 +0000
commit6ec32f1e4dc9edcb760bf5dda21e1e21f82c4d08 (patch)
treeda7ce36feba8746ccd3166f4d24a4e99f088b60e
parentWe do have SO_SNDBUF & SO_RCVBUF; no obj change. (diff)
downloadwireguard-openbsd-6ec32f1e4dc9edcb760bf5dda21e1e21f82c4d08.tar.xz
wireguard-openbsd-6ec32f1e4dc9edcb760bf5dda21e1e21f82c4d08.zip
We do have ICMP6_FILTER; no obj change.
OK benno@
-rw-r--r--sbin/ping6/ping6.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/sbin/ping6/ping6.c b/sbin/ping6/ping6.c
index d74fd8cad28..46e9db3c902 100644
--- a/sbin/ping6/ping6.c
+++ b/sbin/ping6/ping6.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ping6.c,v 1.95 2014/07/09 09:38:35 florian Exp $ */
+/* $OpenBSD: ping6.c,v 1.96 2014/07/09 09:39:54 florian Exp $ */
/* $KAME: ping6.c,v 1.163 2002/10/25 02:19:06 itojun Exp $ */
/*
@@ -630,7 +630,6 @@ main(int argc, char *argv[])
}
-#ifdef ICMP6_FILTER
{
struct icmp6_filter filt;
if (!(options & F_VERBOSE)) {
@@ -647,7 +646,6 @@ main(int argc, char *argv[])
(socklen_t)sizeof(filt)) < 0)
err(1, "setsockopt(ICMP6_FILTER)");
}
-#endif /*ICMP6_FILTER*/
/* let the kernel pass extension headers of incoming packets */
if ((options & F_VERBOSE) != 0) {