summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFlorian Obser <florian@cvs.openbsd.org>2014-07-09 09:33:13 +0000
committerFlorian Obser <florian@cvs.openbsd.org>2014-07-09 09:33:13 +0000
commit78fc8eedf17550bb97d3c8041d7219d803987587 (patch)
tree0462e1e73af8eeb6c09e288561661c6c4f116b58
parentf254be81afb848372994ebd35f0ea34a274acbc8 (diff)
Kill code commented since forever; no obj change.
OK benno@
-rw-r--r--sbin/ping6/ping6.c10
1 files changed, 1 insertions, 9 deletions
diff --git a/sbin/ping6/ping6.c b/sbin/ping6/ping6.c
index 3c126259dde..d4de068546f 100644
--- a/sbin/ping6/ping6.c
+++ b/sbin/ping6/ping6.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ping6.c,v 1.90 2014/04/28 15:25:34 florian Exp $ */
+/* $OpenBSD: ping6.c,v 1.91 2014/07/09 09:33:12 florian Exp $ */
/* $KAME: ping6.c,v 1.163 2002/10/25 02:19:06 itojun Exp $ */
/*
@@ -683,14 +683,6 @@ main(int argc, char *argv[])
err(1, "setsockopt(IPV6_RECVRTHDR)");
}
-/*
- optval = 1;
- if (IN6_IS_ADDR_MULTICAST(&dst.sin6_addr))
- if (setsockopt(s, IPPROTO_IPV6, IPV6_MULTICAST_LOOP,
- &optval, sizeof(optval)) == -1)
- err(1, "IPV6_MULTICAST_LOOP");
-*/
-
/* Specify the outgoing interface and/or the source address */
if (usepktinfo)
ip6optlen += CMSG_SPACE(sizeof(struct in6_pktinfo));