[Winpcap-bugs] Windows 7 and pcap_findalldevs
Larry Weaver
LW at LWConsulting.com
Fri Oct 30 10:41:46 PDT 2009
I've just upgraded to window 7 and there is a new behavior for findalldevs.
Under xp the address returned could be used to add the ipaddress of an
interface to it's description
s = gcnew String(iptos(((struct sockaddr_in
*)d->addresses->addr)->sin_addr.s_addr)) + " " + s;
but under windows 7, the address comes back from findalldevs as 0 (leading
to a 0.0.0.0 being added to the description). I don't have vista, so I
don't know if this is the same behavior under vista or not.
Wireshark has the same behavior. When it starts under windows 7 it lists
the adapters with no ip. Since my motherboards have two nvidia Ethernet
ports I have to select the correct one by trial and error.
I assume this is a bug and not just the new expected behavior.
Larry
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.winpcap.org/pipermail/winpcap-bugs/attachments/20091030/e423a865/attachment.htm
More information about the Winpcap-bugs
mailing list