bug 352: STA receives back the broadcasts it sends.

This commit is contained in:
Mathieu Lacage
2008-10-16 12:47:17 +02:00
parent e4fb44dd96
commit ff776177bf

View File

@@ -479,7 +479,10 @@ NqstaWifiMac::Receive (Ptr<Packet> packet, WifiMacHeader const *hdr)
}
else if (hdr->IsData ())
{
ForwardUp (packet, hdr->GetAddr2 (), hdr->GetAddr1 ());
if (hdr->GetAddr3 () != GetAddress ())
{
ForwardUp (packet, hdr->GetAddr3 (), hdr->GetAddr1 ());
}
}
else if (hdr->IsProbeReq () ||
hdr->IsAssocReq ())