summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorflorian <florian@openbsd.org>2016-09-17 09:36:12 +0000
committerflorian <florian@openbsd.org>2016-09-17 09:36:12 +0000
commit4cca1f2cd6dbfcbe48ac397ca97e2342dc6c24e3 (patch)
tree9fb721e010a25e0bcb80122e3b96471f2b892001
parentJust use AF_INET like everywhere else. (diff)
downloadwireguard-openbsd-4cca1f2cd6dbfcbe48ac397ca97e2342dc6c24e3.tar.xz
wireguard-openbsd-4cca1f2cd6dbfcbe48ac397ca97e2342dc6c24e3.zip
dead store
-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 0e5980c259a..04b3f3cf165 100644
--- a/sbin/ping6/ping6.c
+++ b/sbin/ping6/ping6.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ping6.c,v 1.218 2016/09/17 09:35:27 florian Exp $ */
+/* $OpenBSD: ping6.c,v 1.219 2016/09/17 09:36:12 florian Exp $ */
/*
* Copyright (C) 1995, 1996, 1997, and 1998 WIDE Project.
@@ -552,8 +552,6 @@ main(int argc, char *argv[])
sizeof(loop)) < 0)
err(1, "setsockopt IP6_MULTICAST_LOOP");
- optval = 1;
-
optval = IPV6_DEFHLIM;
if (IN6_IS_ADDR_MULTICAST(&dst6.sin6_addr))
if (setsockopt(s, IPPROTO_IPV6, IPV6_MULTICAST_HOPS,