summaryrefslogtreecommitdiff
path: root/sbin
diff options
context:
space:
mode:
authorFlorian Obser <florian@cvs.openbsd.org>2014-07-09 09:39:55 +0000
committerFlorian Obser <florian@cvs.openbsd.org>2014-07-09 09:39:55 +0000
commit92d637ac8e4d424917f5f1fa5a3baf0db3fe1beb (patch)
treedb78ef49f51089f47772b40bcbca262c5b41c04d /sbin
parent96881e1dddbbbf9e96f0da19b30d6d4799c7fe2d (diff)
We do have ICMP6_FILTER; no obj change.
OK benno@
Diffstat (limited to 'sbin')
-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) {