Skip to content
Browse files

Merge pull request #5 from DeadZen/patch-1

Support OSX before PCAP_NETMASK_UNKNOWN was added
  • Loading branch information...
2 parents b0cc982 + a61d82e commit c441255d5e99d14b1c926790e1810b99cfcbe27a @msantos committed Sep 20, 2012
Showing with 4 additions and 0 deletions.
  1. +4 −0 c_src/epcap.h
View
4 c_src/epcap.h
@@ -44,6 +44,10 @@
#include <pcap.h>
+#if !defined(PCAP_NETMASK_UNKNOWN)
+#define PCAP_NETMASK_UNKNOWN 0xffffffff
+#endif
+
#define EPCAP_VERSION "0.03"
#define MAXBUFLEN 4096 /* Largest message accepted on stdin */

0 comments on commit c441255

Please sign in to comment.
Something went wrong with that request. Please try again.