summaryrefslogtreecommitdiffstats
path: root/sbin/ifconfig
diff options
context:
space:
mode:
authormonthadar <monthadar@FreeBSD.org>2013-02-07 21:23:03 +0000
committermonthadar <monthadar@FreeBSD.org>2013-02-07 21:23:03 +0000
commitacc555bdc8162ef5e4a40e651817982593532967 (patch)
treea527d3c859ce2d6193da8a7cb09201d5aff4b61c /sbin/ifconfig
parent92c96a118c538a2e18779dc7a470f176aceeb5b1 (diff)
downloadFreeBSD-src-acc555bdc8162ef5e4a40e651817982593532967.zip
FreeBSD-src-acc555bdc8162ef5e4a40e651817982593532967.tar.gz
Mark a mesh path to a mesh gate with a 'G'.
Approved by: adrian (mentor)
Diffstat (limited to 'sbin/ifconfig')
-rw-r--r--sbin/ifconfig/ifieee80211.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/sbin/ifconfig/ifieee80211.c b/sbin/ifconfig/ifieee80211.c
index c2b7678..d0b4917 100644
--- a/sbin/ifconfig/ifieee80211.c
+++ b/sbin/ifconfig/ifieee80211.c
@@ -4025,7 +4025,9 @@ list_mesh(int s)
(rt->imr_flags & IEEE80211_MESHRT_FLAGS_VALID) ?
'V' : '!',
(rt->imr_flags & IEEE80211_MESHRT_FLAGS_PROXY) ?
- 'P' : ' ');
+ 'P' :
+ (rt->imr_flags & IEEE80211_MESHRT_FLAGS_GATE) ?
+ 'G' :' ');
}
}
OpenPOWER on IntegriCloud