Permalink
Browse files

added support of devices without ipwq

  • Loading branch information...
1 parent cf8bb53 commit aa39033b185a92273fe5b442b8dced7524829580 @lefan lefan committed with Apr 11, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 c_src/epcap.c
View
@@ -178,7 +178,7 @@ epcap_init(EPCAP_STATE *ep)
if (pcap_lookupnet(ep->dev, &ipaddr, &ipmask, errbuf) == -1) {
VERBOSE(1, "%s", errbuf);
- return (-1);
+ ipmask=PCAP_NETMASK_UNKNOWN;
}
VERBOSE(2, "[%s] Using filter: %s\n", __progname, ep->filt);

0 comments on commit aa39033

Please sign in to comment.