freebsd-ports/security/arpCounterattack/files/patch-arpCounterattack.hpp
John Marino b6c08b0df5 security/arpCounterattack: stage, fix on F10+, fix on DragonFly
Also:
 * convert to c++11 for clang builds
 * convert to new LIB_DEPENDS format
 * use @sample keyword
 * pet portlint
 * USE=tar
2014-07-07 15:16:05 +00: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 {