merge
This commit is contained in:
@@ -17,8 +17,8 @@
|
||||
*
|
||||
* Authors: Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
|
||||
*/
|
||||
#ifndef CONFIG_H
|
||||
#define CONFIG_H
|
||||
#ifndef NS3_CONFIG_H
|
||||
#define NS3_CONFIG_H
|
||||
|
||||
#include "ptr.h"
|
||||
#include <string>
|
||||
@@ -139,4 +139,4 @@ Ptr<Object> GetRootNamespaceObject (uint32_t i);
|
||||
|
||||
} // namespace ns3
|
||||
|
||||
#endif /* CONFIG_H */
|
||||
#endif /* NS3_CONFIG_H */
|
||||
|
||||
@@ -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 ())
|
||||
|
||||
@@ -14,8 +14,8 @@
|
||||
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
*/
|
||||
|
||||
#ifndef CHANNEL_H
|
||||
#define CHANNEL_H
|
||||
#ifndef NS3_CHANNEL_H
|
||||
#define NS3_CHANNEL_H
|
||||
|
||||
#include <string>
|
||||
#include <stdint.h>
|
||||
@@ -69,4 +69,4 @@ private:
|
||||
|
||||
}; // namespace ns3
|
||||
|
||||
#endif /* CHANNEL_H */
|
||||
#endif /* NS3_CHANNEL_H */
|
||||
|
||||
Reference in New Issue
Block a user