diff options
Diffstat (limited to 'security/arpCounterattack/files/patch-ethernetInfo.hpp')
-rw-r--r-- | security/arpCounterattack/files/patch-ethernetInfo.hpp | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/security/arpCounterattack/files/patch-ethernetInfo.hpp b/security/arpCounterattack/files/patch-ethernetInfo.hpp new file mode 100644 index 000000000000..d1ab4447672c --- /dev/null +++ b/security/arpCounterattack/files/patch-ethernetInfo.hpp @@ -0,0 +1,22 @@ +--- ethernetInfo.hpp.orig 2010-10-11 21:46:00.000000000 +0000 ++++ ethernetInfo.hpp +@@ -27,7 +27,7 @@ + + #include <fstream> + #include <string> +-#include <tr1/unordered_map> ++#include <unordered_map> + + #include <arpa/inet.h> + +@@ -46,8 +46,8 @@ class EthernetInfo { + const std::string &find(const std::string oui); + const std::string &find(const char *oui); + private: +- std::tr1::unordered_map <std::string, std::string> ouiMap; +- std::tr1::unordered_map <std::string, std::string>::const_iterator ouiItr; ++ std::unordered_map <std::string, std::string> ouiMap; ++ std::unordered_map <std::string, std::string>::const_iterator ouiItr; + std::string _oui; + std::string empty; + std::string multicast; |