Skip Menu |

This queue is for tickets about the Net-PcapUtils CPAN distribution.

Report information
The Basics
Id: 1736
Status: new
Priority: 0/
Queue: Net-PcapUtils

People
Owner: Nobody in particular
Requestors: clkao [...] clkao.org
Cc:
AdminCc:

Bug Information
Severity: Critical
Broken in: (no value)
Fixed in: (no value)



Subject: IP-less interface
pcaputils returns fatal error when lookupnet fails. while to make it work with ip-less interface, lookupnet failure should just be a warning.
--- PcapUtils.pm Wed Apr 7 09:33:24 1999 +++ PcapUtils.pm.new Wed Oct 30 01:07:46 2002 @@ -97,7 +97,7 @@ # Get pcap network/netmask my($net, $mask); - return $errbuf, if (Net::Pcap::lookupnet($args{DEV}, \$net, \$mask, + warn $errbuf if (Net::Pcap::lookupnet($args{DEV}, \$net, \$mask, \$errbuf) == -1); # # Open in specified mode