On Wed, 2007-05-09 at 11:40 +0200, Thomas Lopatic wrote:
> [usage of if_nr in Windows port]
> 
> I'd say that we do not need if_nr here, either. It's only in here
> because the Linux version uses it. Apart from debug output the field is
> only initialized here and never used for anything else.
> 
> The Windows port uses a fixed-size array for communicating with the OS
> when obtaining network interface information. True. It would be cleaner
> to first query the number of network interfaces, then dynamically
> allocate a buffer of the required size, then query the information.
> 
> Well, to sum up, I am fine with removing if_nr.

Done. if_nr and index are removed - of course based on Joerg Pommnitz'
patch.

	Bernd
-- 
Firmix Software GmbH                   http://www.firmix.at/
mobil: +43 664 4416156                 fax: +43 1 7890849-55
          Embedded Linux Development and Services



