shadowbq/pcaprub — Issue #8: PCAP 1.0.0 not supported | Minimum version 1.1.0 
Author: shadowbq
Created: 2011-11-04 14:39:32+00:00
State: open

pcaprub does not compile because of PCAP_NETMASK_UNKNOWN on line 965 is not included in pcap.h prior to 1.1.0

```bash
gcc -I. -I/usr/local/include/ruby-1.9.1/x86_64-linux -I/usr/local/include/ruby-1.9.1/ruby/backward -I/usr/local/include/ruby-1.9.1 -I. -fPIC -O3 -ggdb -Wextra -Wno-unused-parameter -Wno-parentheses -Wpointer-arith -Wwrite-strings -Wno-missing-field-initializers -Wno-long-long -o pcaprub.o -c pcaprub.c
pcaprub.c: In function ‘Init_pcaprub’:
pcaprub.c:965: error: ‘PCAP_NETMASK_UNKNOWN’ undeclared (first use in this function)
pcaprub.c:965: error: (Each undeclared identifier is reported only once
pcaprub.c:965: error: for each function it appears in.)
```

reference:
[wireshark](http://anonsvn.wireshark.org/viewvc?revision=33461&view=revision)