summaryrefslogtreecommitdiffstats
path: root/sys/net80211
diff options
context:
space:
mode:
authormonthadar <monthadar@FreeBSD.org>2013-02-07 21:30:29 +0000
committermonthadar <monthadar@FreeBSD.org>2013-02-07 21:30:29 +0000
commitecd76b4133bbb8278f5c7367cddbccefa22f4d96 (patch)
tree9a0b2d4ced373716f07e13ddd4ca9549faebdea0 /sys/net80211
parent3e303ed5b8de97909718241e4218ae04b7a1c8da (diff)
downloadFreeBSD-src-ecd76b4133bbb8278f5c7367cddbccefa22f4d96.zip
FreeBSD-src-ecd76b4133bbb8278f5c7367cddbccefa22f4d96.tar.gz
Mesh bug: debug infomartion showing swapped SA and DA address.
* Fix bug for "forward frame from SA(%6D), DA(%6D)" where addresses where swapped between SA and DA; Approved by: adrian (mentor)
Diffstat (limited to 'sys/net80211')
-rw-r--r--sys/net80211/ieee80211_output.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/net80211/ieee80211_output.c b/sys/net80211/ieee80211_output.c
index 8f3e51b..7481488 100644
--- a/sys/net80211/ieee80211_output.c
+++ b/sys/net80211/ieee80211_output.c
@@ -264,8 +264,8 @@ ieee80211_start(struct ifnet *ifp)
}
IEEE80211_DPRINTF(vap, IEEE80211_MSG_OUTPUT,
"forward frame from DS SA(%6D), DA(%6D)\n",
- eh->ether_dhost, ":",
- eh->ether_shost, ":");
+ eh->ether_shost, ":",
+ eh->ether_dhost, ":");
ieee80211_mesh_proxy_check(vap, eh->ether_shost);
}
ni = ieee80211_mesh_discover(vap, eh->ether_dhost, m);
OpenPOWER on IntegriCloud