]> git.ipfire.org Git - thirdparty/iproute2.git/commitdiff
iplink_bond: fix arp_all_targets parameter name in output
authorMichal Kubeček <mkubecek@suse.cz>
Thu, 6 Feb 2014 11:47:33 +0000 (12:47 +0100)
committerStephen Hemminger <stephen@networkplumber.org>
Mon, 17 Feb 2014 18:48:25 +0000 (10:48 -0800)
Name of arp_all_targets parameter in output of "ip -d link show"
is missing trailing "s".

Fixes: 63d127b0 ("iproute2: finish support for bonding attributes")
Signed-off-by: Michal Kubecek <mkubecek@suse.cz>
ip/iplink_bond.c

index f0e5ab11664062b3cb7b5a406ecb9b8fa9753ea4..f22151e2e9dce628b6c99148dd16edeb8d4e222e 100644 (file)
@@ -428,7 +428,7 @@ static void bond_print_opt(struct link_util *lu, FILE *f, struct rtattr *tb[])
        if (tb[IFLA_BOND_ARP_ALL_TARGETS]) {
                const char *arp_all_targets = get_name(arp_all_targets_tbl,
                        rta_getattr_u32(tb[IFLA_BOND_ARP_ALL_TARGETS]));
-               fprintf(f, "arp_all_target %s ", arp_all_targets);
+               fprintf(f, "arp_all_targets %s ", arp_all_targets);
        }
 
        if (tb[IFLA_BOND_PRIMARY] &&