From: Tom Gundersen Date: Tue, 12 Aug 2014 18:50:13 +0000 (+0200) Subject: networkd: disable ipv4ll default routes by default X-Git-Tag: v216~160 X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=commitdiff_plain;h=ccf1c0299fbe5f6b59e494aabc9883948b7a9df1;hp=54cba0b16cdc94d5c21e8d805a4ade1255d43bc9;p=elogind.git 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. --- 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;