mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-01-22 12:35:17 +00:00
network: honor mtu setting when creating network
This resolves: https://bugzilla.redhat.com/1224348
This commit is contained in:
parent
68a42bf6f7
commit
c0f706865e
@ -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) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user