]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
network: add missing sections
authorYu Watanabe <watanabe.yu+github@gmail.com>
Sun, 25 Apr 2021 23:16:08 +0000 (08:16 +0900)
committerFrantisek Sumsal <frantisek@sumsal.cz>
Mon, 26 Apr 2021 08:07:52 +0000 (10:07 +0200)
Follow-up for 4e26a5baa0045c8bbb899f0c72f07ac630692bd3.

Fixes one of issues in #19410.

src/network/networkd-conf.c

index 7907fa81403125b6d649c4942c81d78cadfa2870..0b55ef29a2581252d606fd8b88588b3ef8e72e30 100644 (file)
@@ -18,6 +18,8 @@ int manager_parse_config_file(Manager *m) {
                         PKGSYSCONFDIR "/networkd.conf",
                         CONF_PATHS_NULSTR("systemd/networkd.conf.d"),
                         "Network\0"
+                        "DHCPv4\0"
+                        "DHCPv6\0"
                         "DHCP\0",
                         config_item_perf_lookup, networkd_gperf_lookup,
                         CONFIG_PARSE_WARN,