Hi. This bug has been corrected in WinPcap 3.0 alpha.
GV ----- Original Message ----- From: "Gordon Tyler" <[EMAIL PROTECTED]> To: "WinPcap Users List" <[EMAIL PROTECTED]> Sent: Wednesday, August 07, 2002 9:07 PM Subject: [WinPcap-users] Packet32.dll: PacketGetNetInfoEx problem > Winpcap version: 2.3 > OS: Windows NT4 > > The function PacketGetNetInfoEx from Packet32.dll, which is quite useful, > does not seem to return any address information on Win NT (4.0). > > It seems (having looked at the source) that PacketGetNetInfoEx tries to get > address info from the registry keys in the following order: > 1. > HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\Interf > aces\<inteface_name> > 2. > HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\<interface_name>\Parameters\TcpI > p > > The first key is not present on WinNT. > > As for the second one, it most certainly has a small omission -- the > interface entries on WinNT can be found under > "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services" not just > "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\". > > Best regards, > > Dmitri. > Sitraka -- the Java advantage > http://www.sitraka.com/ > >
