naccyde / rpms / iproute

Forked from rpms/iproute 5 months ago
Clone

Blame SOURCES/0019-ip-address-fix-oneline-mode-for-interfaces-with-VF.patch

049c96
From 266d5bfc819457371abd69309fae4c16b776fef1 Mon Sep 17 00:00:00 2001
049c96
From: Phil Sutter <psutter@redhat.com>
049c96
Date: Thu, 18 Feb 2016 13:37:23 +0100
049c96
Subject: [PATCH] ip-address: fix oneline mode for interfaces with VF
049c96
049c96
Bugzilla: https://bugzilla.redhat.com/show_bug.cgi?id=1272405
049c96
Upstream Status: iproute2.git commit 6f07f3dc41545
049c96
049c96
commit 6f07f3dc41545657c0364eb17850b946f41861bf
049c96
Author: Phil Sutter <phil@nwl.cc>
049c96
Date:   Fri Oct 16 12:38:33 2015 +0200
049c96
049c96
    ip-address: fix oneline mode for interfaces with VF
049c96
049c96
    Signed-off-by: Phil Sutter <phil@nwl.cc>
049c96
---
049c96
 ip/ipaddress.c | 2 +-
049c96
 1 file changed, 1 insertion(+), 1 deletion(-)
049c96
049c96
diff --git a/ip/ipaddress.c b/ip/ipaddress.c
049c96
index e4da5b1..07242d3 100644
049c96
--- a/ip/ipaddress.c
049c96
+++ b/ip/ipaddress.c
049c96
@@ -294,7 +294,7 @@ static void print_vfinfo(FILE *fp, struct rtattr *vfinfo)
049c96
 	} else
049c96
 		vf_linkstate = NULL;
049c96
 
049c96
-	fprintf(fp, "\n    vf %d MAC %s", vf_mac->vf,
049c96
+	fprintf(fp, "%s    vf %d MAC %s", _SL_, vf_mac->vf,
049c96
 		ll_addr_n2a((unsigned char *)&vf_mac->mac,
049c96
 		ETH_ALEN, 0, b1, sizeof(b1)));
049c96
 	if (vf_vlan->vlan)
049c96
-- 
049c96
1.8.3.1
049c96