iplink_bond: fix arp_all_targets parameter name in output

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>
This commit is contained in:
Michal Kubeček 2014-02-06 12:47:33 +01:00 committed by Stephen Hemminger
parent 7c8a3cfba0
commit 32ad31fba1
1 changed files with 1 additions and 1 deletions

View 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] &&