svn commit: r195179 - projects/mesh11s/sbin/ifconfig

Sam Leffler sam at FreeBSD.org
Mon Jun 29 23:53:28 UTC 2009


Author: sam
Date: Mon Jun 29 23:53:27 2009
New Revision: 195179
URL: http://svn.freebsd.org/changeset/base/195179

Log:
  sync w/ data structure name changes

Modified:
  projects/mesh11s/sbin/ifconfig/ifieee80211.c

Modified: projects/mesh11s/sbin/ifconfig/ifieee80211.c
==============================================================================
--- projects/mesh11s/sbin/ifconfig/ifieee80211.c	Mon Jun 29 21:03:54 2009	(r195178)
+++ projects/mesh11s/sbin/ifconfig/ifieee80211.c	Mon Jun 29 23:53:27 2009	(r195179)
@@ -3960,7 +3960,7 @@ list_hwmp(int s)
 {
 	int i;
 	struct ieee80211req ireq;
-	struct ieee80211_hwmp_fi routes[100];
+	struct ieee80211_hwmp_route routes[100];
 
 	(void) memset(&ireq, 0, sizeof(ireq));
 	(void) strncpy(ireq.i_name, name, sizeof(ireq.i_name));
@@ -3982,13 +3982,13 @@ list_hwmp(int s)
 
 	for (i = 0; i < ireq.i_len / sizeof(*routes); i++) {
 		printf("%s ", ether_ntoa((const struct ether_addr *)
-		    routes[i].fi_dest));
+		    routes[i].rt_dest));
 		printf("%s %4u   %4d   %6d %4d %6d\n",
 			ether_ntoa((const struct ether_addr *)
-			    routes[i].fi_nexthop),
-			routes[i].fi_nhops, routes[i].fi_metric,
-			routes[i].fi_lifetime, routes[i].fi_seq,
-			routes[i].fi_preqid);
+			    routes[i].rt_nexthop),
+			routes[i].rt_nhops, routes[i].rt_metric,
+			routes[i].rt_lifetime, routes[i].rt_seq,
+			routes[i].rt_preqid);
 	}
 }
 


More information about the svn-src-projects mailing list