chiark / gitweb /
networkd: disable ipv4ll default routes by default
authorTom Gundersen <teg@jklm.no>
Tue, 12 Aug 2014 18:50:13 +0000 (20:50 +0200)
committerTom Gundersen <teg@jklm.no>
Tue, 12 Aug 2014 18:50:13 +0000 (20:50 +0200)
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
src/network/networkd-network.c

index 3af199e84ac9b0d88614f0448c99b3e59f7e57fd..9ef69fa1b72cb2ce3182eece27b041bb14c05f55 100644 (file)
                                         <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>
index e326b3664e7df74909ed715bf5a51cc93db240e4..11affb967b9571195facaa76403756cd2e495894 100644 (file)
@@ -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;