commit | 6f07f3dc41545657c0364eb17850b946f41861bf | [log] [tgz] |
---|---|---|
author | Phil Sutter <phil@nwl.cc> | Fri Oct 16 12:38:33 2015 +0200 |
committer | Stephen Hemminger <shemming@brocade.com> | Fri Oct 16 16:02:38 2015 -0700 |
tree | 2927da105449bdd0cf0b928476f835e7acb9c398 | |
parent | 39ca4879a09aa0a8d0ba5695657ff18fbae734c6 [diff] |
ip-address: fix oneline mode for interfaces with VF Signed-off-by: Phil Sutter <phil@nwl.cc>
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 @@ } 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)