diff --git a/src/internet/model/arp-cache.h b/src/internet/model/arp-cache.h index 6657aa739..7204b339f 100644 --- a/src/internet/model/arp-cache.h +++ b/src/internet/model/arp-cache.h @@ -22,7 +22,7 @@ #include #include -#include +#include #include "ns3/simulator.h" #include "ns3/callback.h" #include "ns3/packet.h" @@ -303,11 +303,11 @@ private: /** * \brief ARP Cache container */ - typedef std::unordered_map Cache; + typedef std::map Cache; /** * \brief ARP Cache container iterator */ - typedef std::unordered_map::iterator CacheI; + typedef std::map::iterator CacheI; virtual void DoDispose (void); diff --git a/src/internet/model/ndisc-cache.h b/src/internet/model/ndisc-cache.h index 35def5eeb..c48619915 100644 --- a/src/internet/model/ndisc-cache.h +++ b/src/internet/model/ndisc-cache.h @@ -23,7 +23,7 @@ #include #include -#include +#include #include "ns3/packet.h" #include "ns3/nstime.h" @@ -431,11 +431,11 @@ protected: /** * \brief Neighbor Discovery Cache container */ - typedef std::unordered_map Cache; + typedef std::map Cache; /** * \brief Neighbor Discovery Cache container iterator */ - typedef std::unordered_map::iterator CacheI; + typedef std::map::iterator CacheI; /** * \brief A list of Entry.