This counter is based on the same principle that the 'promiscuity' counter:
the flag ALLMULTI is displayed only when it is explicitly requested by the
userland. This counter enables to know if 'allmulti' is configured on an
interface.
Signed-off-by: Nicolas Dichtel <nicolas.dichtel@6wind.com>
Signed-off-by: David Ahern <dsahern@kernel.org>
" promiscuity %u ",
rta_getattr_u32(tb[IFLA_PROMISCUITY]));
+ if (tb[IFLA_ALLMULTI])
+ print_uint(PRINT_ANY,
+ "allmulti",
+ " allmulti %u ",
+ rta_getattr_u32(tb[IFLA_ALLMULTI]));
+
if (tb[IFLA_MIN_MTU])
print_uint(PRINT_ANY,
"min_mtu", "minmtu %u ",