summaryrefslogtreecommitdiff
path: root/src/network
diff options
context:
space:
mode:
authorRichard Phibel <rphibel@googlemail.com>2022-08-08 15:40:46 +0200
committerDaan De Meyer <daan.j.demeyer@gmail.com>2022-08-12 12:48:29 +0200
commitead3a3fc87590d91795397cfa82783a3282cdef2 (patch)
tree4e55661d93aeea54e97b8ea6f2521f3c6f759899 /src/network
parent65c2ad985a8debdf6d7d11fee5b466f280260f4b (diff)
downloadsystemd-ead3a3fc87590d91795397cfa82783a3282cdef2.tar.gz
config-parser: Add list of drop-in files as return argument of config_parse_many
This will be used to save the list of drop-in files for each partition
Diffstat (limited to 'src/network')
-rw-r--r--src/network/netdev/netdev.c3
-rw-r--r--src/network/networkd-network.c3
2 files changed, 4 insertions, 2 deletions
diff --git a/src/network/netdev/netdev.c b/src/network/netdev/netdev.c
index e9fadfddde..464f47f2cf 100644
--- a/src/network/netdev/netdev.c
+++ b/src/network/netdev/netdev.c
@@ -789,6 +789,7 @@ int netdev_load_one(Manager *manager, const char *filename) {
config_item_perf_lookup, network_netdev_gperf_lookup,
CONFIG_PARSE_WARN,
netdev_raw,
+ NULL,
NULL);
if (r < 0)
return r; /* config_parse_many() logs internally. */
@@ -823,7 +824,7 @@ int netdev_load_one(Manager *manager, const char *filename) {
NETDEV_VTABLE(netdev)->sections,
config_item_perf_lookup, network_netdev_gperf_lookup,
CONFIG_PARSE_WARN,
- netdev, NULL);
+ netdev, NULL, NULL);
if (r < 0)
return r; /* config_parse_many() logs internally. */
diff --git a/src/network/networkd-network.c b/src/network/networkd-network.c
index 4faa43b327..61b900ada2 100644
--- a/src/network/networkd-network.c
+++ b/src/network/networkd-network.c
@@ -550,7 +550,8 @@ int network_load_one(Manager *manager, OrderedHashmap **networks, const char *fi
config_item_perf_lookup, network_network_gperf_lookup,
CONFIG_PARSE_WARN,
network,
- &network->stats_by_path);
+ &network->stats_by_path,
+ NULL);
if (r < 0)
return r; /* config_parse_many() logs internally. */