Commit 6f07f3dc authored by Phil Sutter's avatar Phil Sutter Committed by Stephen Hemminger

ip-address: fix oneline mode for interfaces with VF

Signed-off-by: default avatarPhil Sutter <phil@nwl.cc>
parent 39ca4879
......@@ -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)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment