diff options
author | Henning Brauer <henning@cvs.openbsd.org> | 2005-03-14 12:36:28 +0000 |
---|---|---|
committer | Henning Brauer <henning@cvs.openbsd.org> | 2005-03-14 12:36:28 +0000 |
commit | 698c50f6d353f373eee33ef27f1bfccce0ae07e1 (patch) | |
tree | 159c5e4a09ca2d5a3c64d92c7ed7c51da7206077 | |
parent | ead65a32c19280555e2585f8688e18f3d49224c2 (diff) |
add IFT_/IFM_IEE80211 to ift2ifm so we can pretty-print link state and
such for those as well, pointed out by claudio
-rw-r--r-- | usr.sbin/bgpctl/bgpctl.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/usr.sbin/bgpctl/bgpctl.c b/usr.sbin/bgpctl/bgpctl.c index e1911181ce0..5ae21e3bf48 100644 --- a/usr.sbin/bgpctl/bgpctl.c +++ b/usr.sbin/bgpctl/bgpctl.c @@ -1,4 +1,4 @@ -/* $OpenBSD: bgpctl.c,v 1.75 2005/03/14 12:26:37 henning Exp $ */ +/* $OpenBSD: bgpctl.c,v 1.76 2005/03/14 12:36:27 henning Exp $ */ /* * Copyright (c) 2003 Henning Brauer <henning@openbsd.org> @@ -738,6 +738,8 @@ ift2ifm(int media_type) return (IFM_TOKEN); case IFT_CARP: return (IFM_CARP); + case IFT_IEEE80211: + return (IFM_IEEE80211); default: return (0); } |