diff options
author | Tom Gundersen <teg@jklm.no> | 2014-08-12 20:50:13 +0200 |
---|---|---|
committer | Tom Gundersen <teg@jklm.no> | 2014-08-12 20:50:13 +0200 |
commit | ccf1c0299fbe5f6b59e494aabc9883948b7a9df1 (patch) | |
tree | d81ba4e7371599fec4d040119b339507f6c816af | |
parent | 54cba0b16cdc94d5c21e8d805a4ade1255d43bc9 (diff) |
networkd: disable ipv4ll default routes by default
This causes machines without connectivity to hang where they would otherwise fail. Keep it
opt-in for now, but consider whether we sholud just drop it.
-rw-r--r-- | man/systemd.network.xml | 2 | ||||
-rw-r--r-- | src/network/networkd-network.c | 2 |
2 files changed, 1 insertions, 3 deletions
diff --git a/man/systemd.network.xml b/man/systemd.network.xml index 3af199e84a..9ef69fa1b7 100644 --- a/man/systemd.network.xml +++ b/man/systemd.network.xml @@ -220,7 +220,7 @@ <listitem> <para>A boolean. When true, sets up the route needed for non-IPv4LL hosts to communicate with IPv4LL-only hosts. Defaults - to true. + to false. </para> </listitem> </varlistentry> diff --git a/src/network/networkd-network.c b/src/network/networkd-network.c index e326b3664e..11affb967b 100644 --- a/src/network/networkd-network.c +++ b/src/network/networkd-network.c @@ -79,8 +79,6 @@ static int network_load_one(Manager *manager, const char *filename) { if (!network->filename) return log_oom(); - network->ipv4ll_route = true; - network->dhcp = DHCP_SUPPORT_NONE; network->dhcp_ntp = true; network->dhcp_dns = true; |