From e20675005e8172bdc620e22e7cb22c229130e74a Mon Sep 17 00:00:00 2001 From: Florian Obser Date: Wed, 28 Oct 2015 12:14:26 +0000 Subject: 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@ --- usr.sbin/ndp/ndp.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'usr.sbin/ndp') 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); -- cgit v1.2.3