I'm looking at set up proper filter rules for an
adapter with two IP addresses. My question is: Does
winpcap work with adapter with multiple IP addresses?
I looked at the code, seems to me pcap_lookupnet() and
pcap_compile() both assume one IP address per adapter.
In the windump code(tcpdump.c), pcap_lookupnet() only
returns the first IP address of the adapter.
Pcap_compile() then takes the netmask returned by
pcap_lookupnet(). What happens if the adapter has two
IP addresses and they have different netmasks?
Am I missing something? What should I do to make it
work for multiple IPs per adapter case?
Thanks for any help,
Jinhai
__________________________________
Do you Yahoo!?
Yahoo! Photos: High-quality 4x6 digital prints for 25�
http://photos.yahoo.com/ph/print_splash
==================================================================
This is the WinPcap users list. It is archived at
http://www.mail-archive.com/[EMAIL PROTECTED]/
To unsubscribe use
mailto: [EMAIL PROTECTED]
==================================================================