提交 54f89ef1 编写于 作者: D Daniel P. Berrange

Change bridge driver to use named initializers with virDriverState

Signed-off-by: NDaniel P. Berrange <berrange@redhat.com>
上级 d74b03e5
......@@ -3303,11 +3303,11 @@ static virNetworkDriver networkDriver = {
};
static virStateDriver networkStateDriver = {
"Network",
networkStartup,
networkShutdown,
networkReload,
networkActive,
.name = "Network",
.initialize = networkStartup,
.cleanup = networkShutdown,
.reload = networkReload,
.active = networkActive,
};
int networkRegister(void) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册