diff options
author | monthadar <monthadar@FreeBSD.org> | 2013-02-07 21:23:03 +0000 |
---|---|---|
committer | monthadar <monthadar@FreeBSD.org> | 2013-02-07 21:23:03 +0000 |
commit | acc555bdc8162ef5e4a40e651817982593532967 (patch) | |
tree | a527d3c859ce2d6193da8a7cb09201d5aff4b61c /sbin | |
parent | 92c96a118c538a2e18779dc7a470f176aceeb5b1 (diff) | |
download | FreeBSD-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')
-rw-r--r-- | sbin/ifconfig/ifieee80211.c | 4 |
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' :' '); } } |