opnsense-ports/security/arpCounterattack/files/patch-arpCounterattack.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

20 lines
505 B
C++

--- arpCounterattack.hpp.orig 2010-11-04 01:26:14.000000000 +0000
+++ arpCounterattack.hpp
@@ -24,7 +24,7 @@
#include <string>
#include <vector>
-#include <tr1/unordered_map>
+#include <unordered_map>
#include <sys/socket.h>
#include <sys/time.h>
@@ -55,7 +55,7 @@ struct Interface {
std::string replyName;
pcap_t *replyDescriptor;
ModeType mode;
- std::tr1::unordered_map <uint32_t, std::string> pairs;
+ std::unordered_map <uint32_t, std::string> pairs;
};
struct ARPCorrection {