Guy,
Guy Harris wrote:
Nick Manoleras wrote:
As part of a monitoring App, I am using a program based on iflist.c to return details of all interfaces in a machine. I encounter a problem on windows 98 machines that have been allocated an address via DHCP. They return an IP address of 0.0.0.0. (XP & DHCP works OK). I suspect this is a more a microsoft problem than Winpcap.
I vaguely remember seeing something (I forget whether it was on the WinPcap list or somewhere else) indicating that Windows 9x put IP addresses obtained via DHCP somewhere other than where it puts statically-assigned IP addresses. It might be that WinPcap doesn't know where to look for the DHCP addresses, or that it's using a routine in Windows 9x that doesn't know where to look for them.
All the Windows OSes put the DHCP addresses in a different place than the regular addresses. Normally, it's a different registry key. We solved the problem for WinNTx some time ago, including in packet.dll a additional code that looks for the correct registry keys for DHCP.
In order to provide the same funcionality in Win9x, we should:
- discover where Win9x stores the DHCP addresses - implement the code to read them
As Gianluca says, in this moment we don't plan to do that because of lack of resources. Of course, patches are always welcome.
Loris
================================================================== This is the WinPcap users list. It is archived at http://www.mail-archive.com/[email protected]/
To unsubscribe use mailto: [EMAIL PROTECTED]
==================================================================
