1
0
mirror of https://gitlab.com/libvirt/libvirt.git synced 2025-11-12 16:24:29 +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:
Osier Yang
2013-02-04 21:32:03 +08:00
parent 9a3ff01d7f
commit f90af6914e

View File

@@ -3551,8 +3551,8 @@ virManageVport(const int parent_host,
if (virAsprintf(&vport_name,
"%s:%s",
wwpn,
wwnn) < 0) {
wwnn,
wwpn) < 0) {
virReportOOMError();
goto cleanup;
}