Skip to content

Commit

Permalink
added support of devices without ipwq
Browse files Browse the repository at this point in the history
  • Loading branch information
lefan authored and msantos committed Apr 12, 2012
1 parent cf8bb53 commit aa39033
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion c_src/epcap.c
Expand Up @@ -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);
Expand Down

0 comments on commit aa39033

Please sign in to comment.