From: Phil Sutter Date: Fri, 16 Oct 2015 10:38:33 +0000 (+0200) Subject: ip-address: fix oneline mode for interfaces with VF X-Git-Tag: v4.3.0~27 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6f07f3dc41545657c0364eb17850b946f41861bf;p=thirdparty%2Fiproute2.git ip-address: fix oneline mode for interfaces with VF Signed-off-by: Phil Sutter --- diff --git a/ip/ipaddress.c b/ip/ipaddress.c index e864ca656..f290205b8 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)