Nigel Horne <[email protected]> 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 expect it to return?

-- 
Romain Francoise <[email protected]>
http://people.debian.org/~rfrancoise/



-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to