On Tue, 2005-05-31 at 09:13, Gunnar Lindberg wrote:

> I guess you code writers can tell why (if) this is a bad idea, but
> my 0.01c is to skip the if_unit stuff completely 

> The only usage of if_unit I find is strncat() and string_append_int()
> and both work well with the above.

It's not the use of 'if_unit' that's important here - it's the
use of 'if_name'.  This is used to attempt to identify the type
and speed of the interface (search for 'if_type_from_name')

I don't think it matters too much where the interface name
is split into "base name" and "unit" - they should be spliced
back together before being returned anyway.

It's more a question of how this handles identifying the
type of interface.

Dave



-------------------------------------------------------
This SF.Net email is sponsored by Yahoo.
Introducing Yahoo! Search Developer Network - Create apps using Yahoo!
Search APIs Find out how you can build Yahoo! directly into your own
Applications - visit http://developer.yahoo.net/?fr=offad-ysdn-ostg-q22005
_______________________________________________
Net-snmp-coders mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to