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' :' ');
        }
 }
 
_______________________________________________
svn-src-head@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to