diff options
author | monthadar <monthadar@FreeBSD.org> | 2012-07-31 08:05:40 +0000 |
---|---|---|
committer | monthadar <monthadar@FreeBSD.org> | 2012-07-31 08:05:40 +0000 |
commit | 29285e1a1afa4009c60f7ee167d3ce20a89e4f08 (patch) | |
tree | 423c9321caea501f00f8cfb9852e3dbaae47c32a /sys/net80211/ieee80211_hwmp.c | |
parent | bf32267c0028002b77da1d9f13fddbded33709b3 (diff) | |
download | FreeBSD-src-29285e1a1afa4009c60f7ee167d3ce20a89e4f08.zip FreeBSD-src-29285e1a1afa4009c60f7ee167d3ce20a89e4f08.tar.gz |
Fixed some debug output in hwmp_recv_prep.
Diffstat (limited to 'sys/net80211/ieee80211_hwmp.c')
-rw-r--r-- | sys/net80211/ieee80211_hwmp.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/net80211/ieee80211_hwmp.c b/sys/net80211/ieee80211_hwmp.c index 7189794..4e2508e 100644 --- a/sys/net80211/ieee80211_hwmp.c +++ b/sys/net80211/ieee80211_hwmp.c @@ -1289,7 +1289,7 @@ hwmp_recv_prep(struct ieee80211vap *vap, struct ieee80211_node *ni, IEEE80211_NOTE(vap, IEEE80211_MSG_HWMP, ni, "discard PREP from %6D, new metric %u > %u", prep->prep_targetaddr, ":", - prep->prep_metric, rt->rt_metric); + metric, rt->rt_metric); return; } } @@ -1299,7 +1299,7 @@ hwmp_recv_prep(struct ieee80211vap *vap, struct ieee80211_node *ni, rt->rt_flags & IEEE80211_MESHRT_FLAGS_VALID ? "prefer" : "update", prep->prep_targetaddr, ":", - rt->rt_nhops, prep->prep_hopcount, + rt->rt_nhops, prep->prep_hopcount + 1, rt->rt_metric, metric); hr->hr_seq = prep->prep_targetseq; @@ -1371,7 +1371,7 @@ hwmp_recv_prep(struct ieee80211vap *vap, struct ieee80211_node *ni, rtext->rt_flags & IEEE80211_MESHRT_FLAGS_VALID ? "prefer" : "update", prep->prep_target_ext_addr, ":", - rtext->rt_nhops, prep->prep_hopcount, + rtext->rt_nhops, prep->prep_hopcount + 1, rtext->rt_metric, metric); rtext->rt_flags = IEEE80211_MESHRT_FLAGS_PROXY | |