summaryrefslogtreecommitdiff
path: root/src/dns/nm-dns-unbound.c
diff options
context:
space:
mode:
authorThomas Haller <thaller@redhat.com>2017-01-16 12:18:51 +0100
committerThomas Haller <thaller@redhat.com>2017-01-16 17:30:12 +0100
commit22e8af6242853397e91f648458f23200f8fac178 (patch)
tree885db8fdd88db33a0abc2db2d105ff70e60d060d /src/dns/nm-dns-unbound.c
parent1e67c7ac0b63021ef6a7b669645a0da29f3ed1b9 (diff)
downloadNetworkManager-22e8af6242853397e91f648458f23200f8fac178.tar.gz
device: set a per-device default MTU on activation
In absence of an explicit MTU (either via user configuration, PPP or DHCP), set a default MTU on activation that depends on the device type. We only want to do that on the very first call to _commit_mtu(). Later calls (for example in response to new DHCP leases) skip over this step. This means, on activation the MTU will always be reset to a sensible value instead of preserving whatever was left from a previous configuration. This does not cover setting the MTU from the VPN plugin :(
Diffstat (limited to 'src/dns/nm-dns-unbound.c')
0 files changed, 0 insertions, 0 deletions