|
|
049c96 |
From 2335458a36b8e8450f3d97720d78edffb540c91f Mon Sep 17 00:00:00 2001
|
|
|
049c96 |
From: Phil Sutter <psutter@redhat.com>
|
|
|
049c96 |
Date: Tue, 23 Feb 2016 18:26:25 +0100
|
|
|
049c96 |
Subject: [PATCH] iplink_bond: fix arp_all_targets parameter name in output
|
|
|
049c96 |
MIME-Version: 1.0
|
|
|
049c96 |
Content-Type: text/plain; charset=UTF-8
|
|
|
049c96 |
Content-Transfer-Encoding: 8bit
|
|
|
049c96 |
|
|
|
049c96 |
Bugzilla: https://bugzilla.redhat.com/show_bug.cgi?id=1269528
|
|
|
049c96 |
Upstream Status: iproute2.git commit 32ad31fba1a88
|
|
|
049c96 |
|
|
|
049c96 |
commit 32ad31fba1a88df278b6f268e1849782a90bd702
|
|
|
049c96 |
Author: Michal Kubeček <mkubecek@suse.cz>
|
|
|
049c96 |
Date: Thu Feb 6 12:47:33 2014 +0100
|
|
|
049c96 |
|
|
|
049c96 |
iplink_bond: fix arp_all_targets parameter name in output
|
|
|
049c96 |
|
|
|
049c96 |
Name of arp_all_targets parameter in output of "ip -d link show"
|
|
|
049c96 |
is missing trailing "s".
|
|
|
049c96 |
|
|
|
049c96 |
Fixes: 63d127b0 ("iproute2: finish support for bonding attributes")
|
|
|
049c96 |
Signed-off-by: Michal Kubecek <mkubecek@suse.cz>
|
|
|
049c96 |
---
|
|
|
049c96 |
ip/iplink_bond.c | 2 +-
|
|
|
049c96 |
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
049c96 |
|
|
|
049c96 |
diff --git a/ip/iplink_bond.c b/ip/iplink_bond.c
|
|
|
049c96 |
index f0e5ab1..f22151e 100644
|
|
|
049c96 |
--- a/ip/iplink_bond.c
|
|
|
049c96 |
+++ b/ip/iplink_bond.c
|
|
|
049c96 |
@@ -428,7 +428,7 @@ static void bond_print_opt(struct link_util *lu, FILE *f, struct rtattr *tb[])
|
|
|
049c96 |
if (tb[IFLA_BOND_ARP_ALL_TARGETS]) {
|
|
|
049c96 |
const char *arp_all_targets = get_name(arp_all_targets_tbl,
|
|
|
049c96 |
rta_getattr_u32(tb[IFLA_BOND_ARP_ALL_TARGETS]));
|
|
|
049c96 |
- fprintf(f, "arp_all_target %s ", arp_all_targets);
|
|
|
049c96 |
+ fprintf(f, "arp_all_targets %s ", arp_all_targets);
|
|
|
049c96 |
}
|
|
|
049c96 |
|
|
|
049c96 |
if (tb[IFLA_BOND_PRIMARY] &&
|
|
|
049c96 |
--
|
|
|
049c96 |
1.8.3.1
|
|
|
049c96 |
|