提交 c0f70686 编写于 作者: L Laine Stump

network: honor mtu setting when creating network

This resolves: https://bugzilla.redhat.com/1224348
上级 68a42bf6
......@@ -2301,7 +2301,7 @@ networkStartNetworkVirtual(virNetworkDriverStatePtr driver,
if (virNetDevTapCreateInBridgePort(network->def->bridge,
&macTapIfName, &network->def->mac,
NULL, NULL, &tapfd, 1, NULL, NULL,
0, NULL,
network->def->mtu, NULL,
VIR_NETDEV_TAP_CREATE_USE_MAC_FOR_BRIDGE |
VIR_NETDEV_TAP_CREATE_IFUP |
VIR_NETDEV_TAP_CREATE_PERSIST) < 0) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册