summaryrefslogtreecommitdiffstats
path: root/src/network
diff options
context:
space:
mode:
authorYu Watanabe <watanabe.yu+github@gmail.com>2021-04-20 19:04:32 +0200
committerYu Watanabe <watanabe.yu+github@gmail.com>2021-04-26 17:01:18 +0200
commit70570306109261d905673e48017d3a911ad696ed (patch)
tree9eb0eec15ad6cb5679321b72ddb18b0766b4d01f /src/network
parentMerge pull request #19286 from yuwata/network-dhcp-routes-to-dns-19077 (diff)
downloadsystemd-70570306109261d905673e48017d3a911ad696ed.tar.xz
systemd-70570306109261d905673e48017d3a911ad696ed.zip
network: dhcp4: enable RoutesToDNS= by default
Diffstat (limited to 'src/network')
-rw-r--r--src/network/networkd-network.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/network/networkd-network.c b/src/network/networkd-network.c
index 9833722f71..89b78ca120 100644
--- a/src/network/networkd-network.c
+++ b/src/network/networkd-network.c
@@ -306,6 +306,7 @@ int network_load_one(Manager *manager, OrderedHashmap **networks, const char *fi
.dhcp_use_ntp = true,
.dhcp_use_sip = true,
.dhcp_use_dns = true,
+ .dhcp_routes_to_dns = true,
.dhcp_use_hostname = true,
.dhcp_use_routes = true,
.dhcp_use_gateway = -1,