summaryrefslogtreecommitdiff
path: root/usr.sbin
diff options
context:
space:
mode:
authorFlorian Obser <florian@cvs.openbsd.org>2015-10-28 12:14:26 +0000
committerFlorian Obser <florian@cvs.openbsd.org>2015-10-28 12:14:26 +0000
commite20675005e8172bdc620e22e7cb22c229130e74a (patch)
tree6fb41907f4e5a7f3efb95908fbdc9c0f0ee714b7 /usr.sbin
parent8cecc8f5251e716b550ef40fa4dd5a382d4790b2 (diff)
Remove linkmtu and maxmtu from struct nd_ifinfo. IN6_LINKMTU can now
die and ifp->if_mtu is the one true mtu. Suggested by and OK mpi@
Diffstat (limited to 'usr.sbin')
-rw-r--r--usr.sbin/ndp/ndp.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/usr.sbin/ndp/ndp.c b/usr.sbin/ndp/ndp.c
index 288d6f10fc1..d14dd41c67a 100644
--- a/usr.sbin/ndp/ndp.c
+++ b/usr.sbin/ndp/ndp.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ndp.c,v 1.66 2015/10/25 11:44:30 deraadt Exp $ */
+/* $OpenBSD: ndp.c,v 1.67 2015/10/28 12:14:25 florian Exp $ */
/* $KAME: ndp.c,v 1.101 2002/07/17 08:46:33 itojun Exp $ */
/*
@@ -966,8 +966,7 @@ ifinfo(char *ifname, int argc, char **argv)
/* NOTREACHED */
}
- printf("linkmtu=%d", ND.linkmtu);
- printf(", basereachable=%ds%dms",
+ printf("basereachable=%ds%dms",
ND.basereachable / 1000, ND.basereachable % 1000);
printf(", reachable=%ds", ND.reachable);
printf(", retrans=%ds%dms", ND.retrans / 1000, ND.retrans % 1000);