* [PATCH iproute2] ip-address: fix oneline mode for interfaces with VF
@ 2015-10-16 10:34 Phil Sutter
2015-10-16 10:38 ` [PATCH v2 " Phil Sutter
0 siblings, 1 reply; 3+ messages in thread
From: Phil Sutter @ 2015-10-16 10:34 UTC (permalink / raw)
To: Stephen Hemminger; +Cc: netdev, Phil, "Sutter <phil"
From: Phil Sutter <phil@nwl.cc
Signed-off-by: Phil Sutter <phil@nwl.cc>
---
ip/ipaddress.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/ip/ipaddress.c b/ip/ipaddress.c
index e864ca6..f290205 100644
--- a/ip/ipaddress.c
+++ b/ip/ipaddress.c
@@ -345,7 +345,7 @@ static void print_vfinfo(FILE *fp, struct rtattr *vfinfo)
} else
vf_linkstate = NULL;
- fprintf(fp, "\n vf %d MAC %s", vf_mac->vf,
+ fprintf(fp, "%s vf %d MAC %s", _SL_, vf_mac->vf,
ll_addr_n2a((unsigned char *)&vf_mac->mac,
ETH_ALEN, 0, b1, sizeof(b1)));
if (vf_vlan->vlan)
--
2.5.0
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [PATCH v2 iproute2] ip-address: fix oneline mode for interfaces with VF
2015-10-16 10:34 [PATCH iproute2] ip-address: fix oneline mode for interfaces with VF Phil Sutter
@ 2015-10-16 10:38 ` Phil Sutter
2015-10-16 23:03 ` Stephen Hemminger
0 siblings, 1 reply; 3+ messages in thread
From: Phil Sutter @ 2015-10-16 10:38 UTC (permalink / raw)
To: Stephen Hemminger; +Cc: netdev
Signed-off-by: Phil Sutter <phil@nwl.cc>
---
Changed since v1: Fix commit message - typo in From: header confused
git-send-email.
---
ip/ipaddress.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/ip/ipaddress.c b/ip/ipaddress.c
index e864ca6..f290205 100644
--- a/ip/ipaddress.c
+++ b/ip/ipaddress.c
@@ -345,7 +345,7 @@ static void print_vfinfo(FILE *fp, struct rtattr *vfinfo)
} else
vf_linkstate = NULL;
- fprintf(fp, "\n vf %d MAC %s", vf_mac->vf,
+ fprintf(fp, "%s vf %d MAC %s", _SL_, vf_mac->vf,
ll_addr_n2a((unsigned char *)&vf_mac->mac,
ETH_ALEN, 0, b1, sizeof(b1)));
if (vf_vlan->vlan)
--
2.5.0
^ permalink raw reply related [flat|nested] 3+ messages in thread
end of thread, other threads:[~2015-10-16 23:03 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-10-16 10:34 [PATCH iproute2] ip-address: fix oneline mode for interfaces with VF Phil Sutter
2015-10-16 10:38 ` [PATCH v2 " Phil Sutter
2015-10-16 23:03 ` Stephen Hemminger
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).