svn commit: r246505 - head/sbin/ifconfig

Monthadar Al Jaberi monthadar at FreeBSD.org
Thu Feb 7 21:23:03 UTC 2013


Author: monthadar
Date: Thu Feb  7 21:23:03 2013
New Revision: 246505
URL: http://svnweb.freebsd.org/changeset/base/246505

Log:
  Mark a mesh path to a mesh gate with a 'G'.
  
  Approved by:	adrian (mentor)

Modified:
  head/sbin/ifconfig/ifieee80211.c

Modified: head/sbin/ifconfig/ifieee80211.c
==============================================================================
--- head/sbin/ifconfig/ifieee80211.c	Thu Feb  7 21:22:14 2013	(r246504)
+++ head/sbin/ifconfig/ifieee80211.c	Thu Feb  7 21:23:03 2013	(r246505)
@@ -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' :' ');
 	}
 }
 


More information about the svn-src-head mailing list