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
This commit is contained in:
Richard Phibel
2022-08-12 12:48:29 +02:00
committed by Daan De Meyer
parent 65c2ad985a
commit ead3a3fc87
8 changed files with 21 additions and 7 deletions
+2 -1
View File
@@ -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. */