]> xenbits.xensource.com Git - libvirt.git/commit
network: set mtu as a DHCP option when specified
authorCasey Callendrello <cdc@redhat.com>
Tue, 11 Dec 2018 16:05:43 +0000 (17:05 +0100)
committerJán Tomko <jtomko@redhat.com>
Thu, 31 Jan 2019 16:45:41 +0000 (17:45 +0100)
commit682be115057f0dffbdd73dac93cb9dc676e279c0
tree0dea0f656acc61de21137558072842015c1e915c
parent6dec641394d58e127094ad4ed1ad16745fa259e1
network: set mtu as a DHCP option when specified

This adds an additional directive to the dnsmasq configuration file that
notifies clients via dhcp about the link's MTU. Guests can then choose
adjust their link accordingly.

Signed-off-by: Casey Callendrello <cdc@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
Signed-off-by: Ján Tomko <jtomko@redhat.com>
src/network/bridge_driver.c
tests/networkxml2confdata/nat-network-mtu.conf [new file with mode: 0644]
tests/networkxml2confdata/nat-network-mtu.xml [new file with mode: 0644]
tests/networkxml2conftest.c
tests/networkxml2xmlin/nat-network-mtu.xml [new file with mode: 0644]
tests/networkxml2xmlout/nat-network-mtu.xml [new file with mode: 0644]
tests/networkxml2xmltest.c