summaryrefslogtreecommitdiffstats
path: root/usr.sbin/ospfd/interface.c
diff options
context:
space:
mode:
authornorby <norby@openbsd.org>2006-03-23 18:37:34 +0000
committernorby <norby@openbsd.org>2006-03-23 18:37:34 +0000
commit12bb42a032f143779040de9df46f46432573ad97 (patch)
tree2efa003e359836851dace2b163d20d9ba4957d77 /usr.sbin/ospfd/interface.c
parentkill evil \r; from cedric (diff)
downloadwireguard-openbsd-12bb42a032f143779040de9df46f46432573ad97.tar.xz
wireguard-openbsd-12bb42a032f143779040de9df46f46432573ad97.zip
List interfaces they way we list neighbors etc.
This makes it much easier to grep in the output. The original format of "show interface" can be seen with "show interface detail". help and ok claudio@
Diffstat (limited to 'usr.sbin/ospfd/interface.c')
-rw-r--r--usr.sbin/ospfd/interface.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.sbin/ospfd/interface.c b/usr.sbin/ospfd/interface.c
index 28e9a92d002..32d0d60b6d6 100644
--- a/usr.sbin/ospfd/interface.c
+++ b/usr.sbin/ospfd/interface.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: interface.c,v 1.48 2006/03/15 13:25:33 claudio Exp $ */
+/* $OpenBSD: interface.c,v 1.49 2006/03/23 18:37:34 norby Exp $ */
/*
* Copyright (c) 2005 Claudio Jeker <claudio@openbsd.org>
@@ -635,6 +635,7 @@ if_to_ctl(struct iface *iface)
ictl.rxmt_interval = iface->rxmt_interval;
ictl.type = iface->type;
ictl.linkstate = iface->linkstate;
+ ictl.mediatype = iface->media_type;
ictl.priority = iface->priority;
ictl.passive = iface->passive;
ictl.auth_type = iface->auth_type;