Downloaded source and hunted:

lib/interface.c line 721 assumes if_idx is a 2 character hex value in
/proc/net/if_inet6, which falls over when interfaces get interesting
numbers. For example:

fe80000000000000021fc6fffe5976f6 05 40 20 80   eth0.3
fe80000000000000021fc6fffe5976f6 03 40 20 80   eth0.1
fe80000000000000021fc6fffe5976f6 02 40 20 80     eth0
fe80000000000000e9a417e97b4f05f1 810 0a 20 80     ppp0

Patch attached.


** Patch added: "net-tools-libinterface.patch"
   http://launchpadlibrarian.net/44011884/net-tools-libinterface.patch

-- 
ifconfig does not display inet6 addresses
https://bugs.launchpad.net/bugs/560807
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to