]> git.proxmox.com Git - mirror_iproute2.git/commit
ip: fix igmp parsing when iface is long
authorPetr Vorel <pvorel@suse.cz>
Mon, 16 Jan 2017 23:25:50 +0000 (00:25 +0100)
committerStephen Hemminger <stephen@networkplumber.org>
Tue, 17 Jan 2017 16:39:55 +0000 (08:39 -0800)
commit530903dd9003492edb0714e937ad4a5d1219e376
tree608ec76f0b21c35749d1275f7cc333299c656ab6
parenta05b9557f48e23e69a4c1a597f2f288f133ef170
ip: fix igmp parsing when iface is long

Entries with long vhost names in /proc/net/igmp have no whitespace
between name and colon, so sscanf() adds it to vhost and
'ip maddr show iface' doesn't include inet result.

Signed-off-by: Petr Vorel <pvorel@suse.cz>
ip/ipmaddr.c