From c0f706865e4ecac0ddaafdb4b9fc2db8d9612481 Mon Sep 17 00:00:00 2001 From: Laine Stump Date: Sun, 22 Jan 2017 21:33:07 -0500 Subject: [PATCH] network: honor mtu setting when creating network This resolves: https://bugzilla.redhat.com/1224348 --- src/network/bridge_driver.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/network/bridge_driver.c b/src/network/bridge_driver.c index f88c261ed8..06759c6431 100644 --- a/src/network/bridge_driver.c +++ b/src/network/bridge_driver.c @@ -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) { -- GitLab