summaryrefslogtreecommitdiff
path: root/src/network
diff options
context:
space:
mode:
Diffstat (limited to 'src/network')
-rw-r--r--src/network/networkd-conf.c2
-rw-r--r--src/network/networkd-network.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/network/networkd-conf.c b/src/network/networkd-conf.c
index c03e2b2ebf..49bb8c18f6 100644
--- a/src/network/networkd-conf.c
+++ b/src/network/networkd-conf.c
@@ -29,7 +29,7 @@
int manager_parse_config_file(Manager *m) {
assert(m);
- return config_parse_many(PKGSYSCONFDIR "/networkd.conf",
+ return config_parse_many_nulstr(PKGSYSCONFDIR "/networkd.conf",
CONF_PATHS_NULSTR("systemd/networkd.conf.d"),
"DHCP\0",
config_item_perf_lookup, networkd_gperf_lookup,
diff --git a/src/network/networkd-network.c b/src/network/networkd-network.c
index 0b36f13be8..1ce23b1ddb 100644
--- a/src/network/networkd-network.c
+++ b/src/network/networkd-network.c
@@ -151,7 +151,7 @@ static int network_load_one(Manager *manager, const char *filename) {
if (r < 0)
return r;
- r = config_parse_many(filename, dropin_dirs_nulstr,
+ r = config_parse_many_nulstr(filename, dropin_dirs_nulstr,
"Match\0"
"Link\0"
"Network\0"