summaryrefslogtreecommitdiffstats
path: root/usr.sbin/ndp
diff options
context:
space:
mode:
authorkrw <krw@openbsd.org>2018-07-13 09:03:44 +0000
committerkrw <krw@openbsd.org>2018-07-13 09:03:44 +0000
commite2a0fd57f687570d9c0f21c00d097fe8ac1f955c (patch)
tree34dd285738bfec64b960b5c4fa7ad6a744022d11 /usr.sbin/ndp
parentUnused variable. (diff)
downloadwireguard-openbsd-e2a0fd57f687570d9c0f21c00d097fe8ac1f955c.tar.xz
wireguard-openbsd-e2a0fd57f687570d9c0f21c00d097fe8ac1f955c.zip
Unused variables.
ok henning@
Diffstat (limited to 'usr.sbin/ndp')
-rw-r--r--usr.sbin/ndp/ndp.c11
1 files changed, 2 insertions, 9 deletions
diff --git a/usr.sbin/ndp/ndp.c b/usr.sbin/ndp/ndp.c
index ff142525133..aeea0f69b72 100644
--- a/usr.sbin/ndp/ndp.c
+++ b/usr.sbin/ndp/ndp.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ndp.c,v 1.89 2018/06/17 18:07:18 benno Exp $ */
+/* $OpenBSD: ndp.c,v 1.90 2018/07/13 09:03:44 krw Exp $ */
/* $KAME: ndp.c,v 1.101 2002/07/17 08:46:33 itojun Exp $ */
/*
@@ -137,13 +137,6 @@ static char *sec2str(time_t);
static void ts_print(const struct timeval *);
static int rdomain;
-static char *rtpref_str[] = {
- "medium", /* 00 */
- "high", /* 01 */
- "rsv", /* 10 */
- "low" /* 11 */
-};
-
int
main(int argc, char *argv[])
{
@@ -884,7 +877,7 @@ void
ifinfo(char *ifname)
{
struct in6_ndireq nd;
- int i, s;
+ int s;
if ((s = socket(AF_INET6, SOCK_DGRAM, 0)) < 0) {
err(1, "socket");