Bug#523586: libpcap0.8-dev: pcap_lookupnet doesn't fill in netp correctly

2009-06-16 Thread Romain Francoise
Nigel Horne writes: > According to man pcap: "pcap_lookupnet() is used to determine the > network number and mask associated with the network device". > In fact the value in *netp is set to the address masked with the > value in maskp (i.e. *netp &= *maskp). Yes, that's right. What did you exp

Bug#523586: libpcap0.8-dev: pcap_lookupnet doesn't fill in netp correctly

2009-04-11 Thread Nigel Horne
Package: libpcap0.8-dev Version: 0.9.8-5 Severity: normal According to man pcap: "pcap_lookupnet() is used to determine the network number and mask associated with the network device". In fact the value in *netp is set to the address masked with the value in maskp (i.e. *netp &=