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:
committed by
Daan De Meyer
parent
65c2ad985a
commit
ead3a3fc87
@@ -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. */
|
||||
|
||||
|
||||
Reference in New Issue
Block a user