summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Gundersen <teg@jklm.no>2014-08-12 20:50:13 +0200
committerTom Gundersen <teg@jklm.no>2014-08-12 20:50:13 +0200
commitccf1c0299fbe5f6b59e494aabc9883948b7a9df1 (patch)
treed81ba4e7371599fec4d040119b339507f6c816af
parent54cba0b16cdc94d5c21e8d805a4ade1255d43bc9 (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.xml2
-rw-r--r--src/network/networkd-network.c2
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;