diff options
author | Andrea Claudi <aclaudi@redhat.com> | 2023-05-26 19:36:54 +0200 |
---|---|---|
committer | Stephen Hemminger <stephen@networkplumber.org> | 2023-05-26 11:58:58 -0700 |
commit | 72df7f7e25cb832ff4d6690984adb60b0f5882bb (patch) | |
tree | c6b272c87600b5f0947812dd9a42bcd89caca05f | |
parent | 054dde7aae106b52650d57431e4f839fa2f426d5 (diff) | |
download | iproute2-72df7f7e25cb832ff4d6690984adb60b0f5882bb.tar.gz |
ip: remove double space before 'allmulti' flag
Current output:
$ ip -d link show vxlan0
79: vxlan0: <BROADCAST,MULTICAST> 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: <BROADCAST,MULTICAST> 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 <aclaudi@redhat.com>
Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
-rw-r--r-- | ip/ipaddress.c | 2 |
1 files changed, 1 insertions, 1 deletions
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]) |