Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

Support OSX before PCAP_NETMASK_UNKNOWN was added #5

Merged
merged 1 commit into from

2 participants

@DeadZen

This was added recently and failed to build due to being undeclared.

@DeadZen DeadZen Support OSX before PCAP_NETMASK_UNKNOWN was added
This was added recently and failed to build due to being undeclared.
a61d82e
@msantos msantos merged commit c441255 into msantos:master
@msantos
Owner

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Sep 20, 2012
  1. @DeadZen

    Support OSX before PCAP_NETMASK_UNKNOWN was added

    DeadZen authored
    This was added recently and failed to build due to being undeclared.
This page is out of date. Refresh to see the latest.
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 */
Something went wrong with that request. Please try again.