[Pkg-net-snmp-devel] Bug#468260: Found the problem

Jonathan Steinert debian at hachi.kuiki.net
Tue Apr 1 01:08:16 UTC 2008


I found the code which is causing this bug. net-snmp appears to read 
/proc/net/if_inet6 and assume interface names are 8 characters or fewer. 
However the limit for interface names is 16 characters currently on 
linux (as far as I can see)

I've attached a workaround patch.

Cheers

--hachi
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ifname_crop.patch
Type: text/x-diff
Size: 597 bytes
Desc: not available
Url : http://lists.alioth.debian.org/pipermail/pkg-net-snmp-devel/attachments/20080331/ada1d9c6/attachment.patch 


More information about the Pkg-net-snmp-devel mailing list