opnsense-ports/security/arpCounterattack/files/patch-ethernetInfo.hpp
Franco Fichtner 8cb1a96ede ports: pull in a snapshot of the FreeBSD ports tree
Taken from:	https://github.com/freebsd/freebsd-ports.git
Commit id:	5070672073b68be364139bc6b3a89100bd17d331
2014-11-09 14:03:21 +01:00

22 lines
730 B
C++

--- 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;