mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-01-25 05:55:17 +00:00
util: Fix bug of managing vport
The string written to "vport_create" or "vport_delete" should be "wwnn:wwpn", but not "wwpn:wwnn".
This commit is contained in:
parent
9a3ff01d7f
commit
f90af6914e
@ -3551,8 +3551,8 @@ virManageVport(const int parent_host,
|
|||||||
|
|
||||||
if (virAsprintf(&vport_name,
|
if (virAsprintf(&vport_name,
|
||||||
"%s:%s",
|
"%s:%s",
|
||||||
wwpn,
|
wwnn,
|
||||||
wwnn) < 0) {
|
wwpn) < 0) {
|
||||||
virReportOOMError();
|
virReportOOMError();
|
||||||
goto cleanup;
|
goto cleanup;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user