From ccf1c0299fbe5f6b59e494aabc9883948b7a9df1 Mon Sep 17 00:00:00 2001 From: Tom Gundersen Date: Tue, 12 Aug 2014 20:50:13 +0200 Subject: [PATCH 1/1] 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. --- man/systemd.network.xml | 2 +- src/network/networkd-network.c | 2 -- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/man/systemd.network.xml b/man/systemd.network.xml index 3af199e84..9ef69fa1b 100644 --- a/man/systemd.network.xml +++ b/man/systemd.network.xml @@ -220,7 +220,7 @@ A boolean. When true, sets up the route needed for non-IPv4LL hosts to communicate with IPv4LL-only hosts. Defaults - to true. + to false. diff --git a/src/network/networkd-network.c b/src/network/networkd-network.c index e326b3664..11affb967 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; -- 2.30.2