From: Andrea Claudi Date: Fri, 26 May 2023 17:36:54 +0000 (+0200) Subject: ip: remove double space before 'allmulti' flag X-Git-Tag: v6.4.0~19 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=72df7f7e25cb832ff4d6690984adb60b0f5882bb;p=thirdparty%2Fiproute2.git ip: remove double space before 'allmulti' flag Current output: $ ip -d link show vxlan0 79: vxlan0: mtu 1500 qdisc noop state DOWN mode DEFAULT group default qlen 1000 link/ether b6:f6:12:c3:2d:52 brd ff:ff:ff:ff:ff:ff promiscuity 0 allmulti 0 minmtu 68 maxmtu 65535 Resulting output: $ ip -d link show vxlan0 79: vxlan0: mtu 1500 qdisc noop state DOWN mode DEFAULT group default qlen 1000 link/ether b6:f6:12:c3:2d:52 brd ff:ff:ff:ff:ff:ff promiscuity 0 allmulti 0 minmtu 68 maxmtu 65535 Fixes: e98683accc28 ("link: display 'allmulti' counter") Signed-off-by: Andrea Claudi Signed-off-by: Stephen Hemminger --- diff --git a/ip/ipaddress.c b/ip/ipaddress.c index 41055c43e..c428dd3d5 100644 --- a/ip/ipaddress.c +++ b/ip/ipaddress.c @@ -1207,7 +1207,7 @@ int print_linkinfo(struct nlmsghdr *n, void *arg) if (tb[IFLA_ALLMULTI]) print_uint(PRINT_ANY, "allmulti", - " allmulti %u ", + "allmulti %u ", rta_getattr_u32(tb[IFLA_ALLMULTI])); if (tb[IFLA_MIN_MTU])