commit | bca8aba4c7eaa02762628016c7c55dbf1da77cdd | [log] [tgz] |
---|---|---|
author | Alexey Kodanev <alexey.kodanev@oracle.com> | Mon Feb 20 12:41:19 2017 +0300 |
committer | Alexey Kodanev <alexey.kodanev@oracle.com> | Mon Feb 20 13:42:28 2017 +0300 |
tree | df30eb890bf495b0c86a50a0fa1775549dfb13ce | |
parent | 274b776d9b59a095f42f3fa4dbb84316c81c1be8 [diff] |
mc_cmds: fix test on sparc & when iface joined multiple groups /proc/net/igmp can have this: * When iface joinded multiple groups: 5 ltp_ns_veth2: 2 V3 FB0000E0 1 0:00000000 0 010000E0 1 0:00000000 0 * For sparc byte order is different: 3 ltp_ns_veth2: 1 V3 E0000001 1 0:00000000 0 Fix both by grepping 'ip maddr' output from target interface name till the next interface entry. Signed-off-by: Alexey Kodanev <alexey.kodanev@oracle.com>