]> git.ipfire.org Git - thirdparty/iproute2.git/commitdiff
ip-address: fix oneline mode for interfaces with VF
authorPhil Sutter <phil@nwl.cc>
Fri, 16 Oct 2015 10:38:33 +0000 (12:38 +0200)
committerStephen Hemminger <shemming@brocade.com>
Fri, 16 Oct 2015 23:02:38 +0000 (16:02 -0700)
Signed-off-by: Phil Sutter <phil@nwl.cc>
ip/ipaddress.c

index e864ca6567424368d19e62d05b05e3e660e30d59..f290205b823ee08b20ef2e7936ed329c27095de0 100644 (file)
@@ -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)