svn commit: r194853 - projects/mesh11s/sys/net80211
Rui Paulo
rpaulo at FreeBSD.org
Wed Jun 24 16:24:09 UTC 2009
Author: rpaulo
Date: Wed Jun 24 16:24:08 2009
New Revision: 194853
URL: http://svn.freebsd.org/changeset/base/194853
Log:
Build a bit more of the routing entry on PREP recv.
Sponsored by: The FreeBSD Foundation
Modified:
projects/mesh11s/sys/net80211/ieee80211_hwmp.c
Modified: projects/mesh11s/sys/net80211/ieee80211_hwmp.c
==============================================================================
--- projects/mesh11s/sys/net80211/ieee80211_hwmp.c Wed Jun 24 16:16:07 2009 (r194852)
+++ projects/mesh11s/sys/net80211/ieee80211_hwmp.c Wed Jun 24 16:24:08 2009 (r194853)
@@ -776,10 +776,13 @@ hwmp_recv_prep(struct ieee80211vap *vap,
if (fi != NULL) {
/*
- * Record the next hop.
+ * Build the rest of the entry.
* XXX check for SEQ and PREQ ID.
*/
IEEE80211_ADDR_COPY(fi->fi_nexthop, wh->i_addr2);
+ fi->fi_nhops = prep->prep_hopcount;
+ fi->fi_lifetime = prep->prep_lifetime;
+ fi->fi_metric = prep->prep_metric;
}
/*
More information about the svn-src-projects
mailing list