summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFlorian Obser <florian@cvs.openbsd.org>2015-10-24 16:41:12 +0000
committerFlorian Obser <florian@cvs.openbsd.org>2015-10-24 16:41:12 +0000
commit744462971ac7ce590079475c6b97dc3e9d794a50 (patch)
treeca37c1273fa362d836dc2d5d3fda5bdcf2b77bb6
parent300a6f9cb25371700c349238608b5e2a4baef689 (diff)
nonce is unused.
-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 520fe1d2bfc..16062f0b38a 100644
--- a/sbin/ping6/ping6.c
+++ b/sbin/ping6/ping6.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ping6.c,v 1.129 2015/10/24 16:32:26 florian Exp $ */
+/* $OpenBSD: ping6.c,v 1.130 2015/10/24 16:41:11 florian Exp $ */
/* $KAME: ping6.c,v 1.163 2002/10/25 02:19:06 itojun Exp $ */
/*
@@ -168,7 +168,6 @@ char BSPACE = '\b'; /* characters written for flood */
char DOT = '.';
char *hostname;
int ident; /* process id to identify our packets */
-u_int8_t nonce[8]; /* nonce field for node information */
int hoplimit = -1; /* hoplimit */
/* counters */
@@ -501,7 +500,6 @@ main(int argc, char *argv[])
*datap++ = i;
ident = getpid() & 0xFFFF;
- arc4random_buf(nonce, sizeof(nonce));
optval = 1;