1
1
mirror of https://github.com/systemd/systemd-stable.git synced 2024-12-22 13:33:56 +03:00

Revert "networkd: change UseMTU default to true. (#6837)" (#6950)

This reverts commit 22043e4317.
UseMTU is broken on real hardware and should not be enabled by default.
This commit is contained in:
Andrew Jeddeloh 2017-10-05 03:58:02 -07:00 committed by Zbigniew Jędrzejewski-Szmek
parent 70b491d190
commit 95ab9eff1e
3 changed files with 3 additions and 7 deletions

5
NEWS
View File

@ -16,11 +16,6 @@ CHANGES WITH 235:
respectively. They complement the existing "set-log-level" and respectively. They complement the existing "set-log-level" and
"set-log-target" verbs, which can be used to change those values. "set-log-target" verbs, which can be used to change those values.
* systemd-networkd .network DHCP setting UseMTU default has changed
from false to true. Meaning, DHCP server advertised MTU setting is
now applied by default. This resolves networking issues on low-mtu
networks.
* journald.conf gained a new boolean setting ReadKMsg= which defaults * journald.conf gained a new boolean setting ReadKMsg= which defaults
to on. If turned off kernel log messages will not be read by to on. If turned off kernel log messages will not be read by
systemd-journald and not be included in the logs. It also gained a systemd-journald and not be included in the logs. It also gained a

View File

@ -1063,7 +1063,7 @@
<listitem> <listitem>
<para>When true, the interface maximum transmission unit <para>When true, the interface maximum transmission unit
from the DHCP server will be used on the current link. from the DHCP server will be used on the current link.
Defaults to true.</para> Defaults to false.</para>
</listitem> </listitem>
</varlistentry> </varlistentry>
<varlistentry> <varlistentry>

View File

@ -223,7 +223,8 @@ static int network_load_one(Manager *manager, const char *filename) {
* even if they are commented in the man? * even if they are commented in the man?
* These vars might be overwriten by network_apply_anonymize_if_set */ * These vars might be overwriten by network_apply_anonymize_if_set */
network->dhcp_vendor_class_identifier = false; network->dhcp_vendor_class_identifier = false;
network->dhcp_use_mtu = true; /* NOTE: from man: UseMTU=... Defaults to false*/
network->dhcp_use_mtu = false;
/* NOTE: from man: UseTimezone=... Defaults to "no".*/ /* NOTE: from man: UseTimezone=... Defaults to "no".*/
network->dhcp_use_timezone = false; network->dhcp_use_timezone = false;