From 723aebe85e6a25c267db8ff178068f7b2042aa80 Mon Sep 17 00:00:00 2001 From: Brian Somers Date: Fri, 1 Dec 2000 03:22:18 +0000 Subject: [PATCH] Mention the MTU in ``show iface''. --- usr.sbin/ppp/iface.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/usr.sbin/ppp/iface.c b/usr.sbin/ppp/iface.c index 8d95ced007c..4451ceddc3d 100644 --- a/usr.sbin/ppp/iface.c +++ b/usr.sbin/ppp/iface.c @@ -507,8 +507,8 @@ iface_Show(struct cmdargs const *arg) if_flags[f].value); flags &= ~if_flags[f].flag; } - prompt_Printf(arg->prompt, "> has %d address%s:\n", iface->in_addrs, - iface->in_addrs == 1 ? "" : "es"); + prompt_Printf(arg->prompt, "> mtu %d has %d address%s:\n", arg->bundle->mtu, + iface->in_addrs, iface->in_addrs == 1 ? "" : "es"); for (f = 0; f < iface->in_addrs; f++) { prompt_Printf(arg->prompt, " %s", inet_ntoa(iface->in_addr[f].ifa));