mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-22 17:34:18 +03: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,
|
||||
"%s:%s",
|
||||
wwpn,
|
||||
wwnn) < 0) {
|
||||
wwnn,
|
||||
wwpn) < 0) {
|
||||
virReportOOMError();
|
||||
goto cleanup;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user