* Modified ifconfig to show the IEEE80211_MESHRT_FLAGS_DISCOVER flag with a 'D';

Approved by: adrian
This commit is contained in:
Monthadar Al Jaberi 2012-05-01 16:17:17 +00:00
parent 47451c661b
commit 35fc27d27e
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=234895

View File

@ -4020,6 +4020,8 @@ list_mesh(int s)
ether_ntoa((const struct ether_addr *)rt->imr_nexthop),
rt->imr_nhops, rt->imr_metric, rt->imr_lifetime,
rt->imr_lastmseq,
(rt->imr_flags & IEEE80211_MESHRT_FLAGS_DISCOVER) ?
'D' :
(rt->imr_flags & IEEE80211_MESHRT_FLAGS_VALID) ?
'V' : '!',
(rt->imr_flags & IEEE80211_MESHRT_FLAGS_PROXY) ?