1
0
mirror of https://git.FreeBSD.org/src.git synced 2025-01-30 16:51:41 +00:00

Mention the MTU in ``show iface''.

This commit is contained in:
Brian Somers 2000-12-01 03:22:18 +00:00
parent 96fde7da19
commit 723aebe85e
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=69433

View File

@ -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));