提交 49ed3cd1 编写于 作者: D Daniel P. Berrange 提交者: Cole Robinson

Specify name of target interface with macvlan error

When failing to create a macvlan interface, make sure the
error message contains the name of the host interface
Signed-off-by: NDaniel P. Berrange <berrange@redhat.com>
(cherry picked from commit e11daa2b)
上级 1083e418
......@@ -176,8 +176,8 @@ virNetDevMacVLanCreate(const char *ifname,
default:
virReportSystemError(-err->error,
_("error creating %s type of interface"),
type);
_("error creating %s type of interface attach to %s"),
type, srcdev);
goto cleanup;
}
break;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册