svn commit: r234895 - head/sbin/ifconfig

Monthadar Al Jaberi monthadar at FreeBSD.org
Tue May 1 16:17:18 UTC 2012


Author: monthadar
Date: Tue May  1 16:17:17 2012
New Revision: 234895
URL: http://svn.freebsd.org/changeset/base/234895

Log:
  * Modified ifconfig to show the IEEE80211_MESHRT_FLAGS_DISCOVER flag with a 'D';
  
  Approved by: adrian

Modified:
  head/sbin/ifconfig/ifieee80211.c

Modified: head/sbin/ifconfig/ifieee80211.c
==============================================================================
--- head/sbin/ifconfig/ifieee80211.c	Tue May  1 16:16:20 2012	(r234894)
+++ head/sbin/ifconfig/ifieee80211.c	Tue May  1 16:17:17 2012	(r234895)
@@ -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) ?


More information about the svn-src-all mailing list