From a80f0437dc55adec7643cacc50c6f8e700cccf40 Mon Sep 17 00:00:00 2001 From: Jeremie Courreges-Anglas Date: Mon, 5 Dec 2016 22:39:26 +0000 Subject: Also print the mtu when showing interface details ok sthen@ benno@ --- usr.sbin/ospfctl/ospfctl.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'usr.sbin') diff --git a/usr.sbin/ospfctl/ospfctl.c b/usr.sbin/ospfctl/ospfctl.c index 81fafbe9fad..4d0f05152d8 100644 --- a/usr.sbin/ospfctl/ospfctl.c +++ b/usr.sbin/ospfctl/ospfctl.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ospfctl.c,v 1.63 2015/12/03 11:42:14 claudio Exp $ */ +/* $OpenBSD: ospfctl.c,v 1.64 2016/12/05 22:39:25 jca Exp $ */ /* * Copyright (c) 2005 Claudio Jeker @@ -434,8 +434,9 @@ show_interface_detail_msg(struct imsg *imsg) inet_ntoa(iface->addr), mask2prefixlen(iface->mask.s_addr)); printf("Area %s\n", inet_ntoa(iface->area)); - printf(" Linkstate %s\n", + printf(" Linkstate %s,", get_linkstate(iface->if_type, iface->linkstate)); + printf(" mtu %d\n", iface->mtu); printf(" Router ID %s, network type %s, cost: %d\n", inet_ntoa(iface->rtr_id), if_type_name(iface->type), iface->metric); -- cgit v1.2.3