提交 f90af691 编写于 作者: O Osier Yang

util: Fix bug of managing vport

The string written to "vport_create" or "vport_delete" should
be "wwnn:wwpn", but not "wwpn:wwnn".
上级 9a3ff01d
......@@ -3551,8 +3551,8 @@ virManageVport(const int parent_host,
if (virAsprintf(&vport_name,
"%s:%s",
wwpn,
wwnn) < 0) {
wwnn,
wwpn) < 0) {
virReportOOMError();
goto cleanup;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册