diff options
author | Yu Watanabe <watanabe.yu+github@gmail.com> | 2020-06-01 07:53:06 +0200 |
---|---|---|
committer | Yu Watanabe <watanabe.yu+github@gmail.com> | 2020-06-01 10:03:40 +0200 |
commit | 9f83091e3cceb646a66fa9df89de6d9a77c21d86 (patch) | |
tree | f56d8c1cad63d25240a7c119d18b55376b13b136 /src/network/netdev | |
parent | network: do not propagte error on stat() (diff) | |
download | systemd-9f83091e3cceb646a66fa9df89de6d9a77c21d86.tar.xz systemd-9f83091e3cceb646a66fa9df89de6d9a77c21d86.zip |
network: also read mtime of drop-in configs
Fixes #15521.
Diffstat (limited to 'src/network/netdev')
-rw-r--r-- | src/network/netdev/netdev.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/network/netdev/netdev.c b/src/network/netdev/netdev.c index 997dafa719..a990c64b55 100644 --- a/src/network/netdev/netdev.c +++ b/src/network/netdev/netdev.c @@ -689,7 +689,7 @@ int netdev_load_one(Manager *manager, const char *filename) { r = config_parse_many(filename, NETWORK_DIRS, dropin_dirname, NETDEV_COMMON_SECTIONS NETDEV_OTHER_SECTIONS, config_item_perf_lookup, network_netdev_gperf_lookup, - CONFIG_PARSE_WARN, netdev_raw); + CONFIG_PARSE_WARN, netdev_raw, NULL); if (r < 0) return r; @@ -729,7 +729,7 @@ int netdev_load_one(Manager *manager, const char *filename) { r = config_parse_many(filename, NETWORK_DIRS, dropin_dirname, NETDEV_VTABLE(netdev)->sections, config_item_perf_lookup, network_netdev_gperf_lookup, - CONFIG_PARSE_WARN, netdev); + CONFIG_PARSE_WARN, netdev, NULL); if (r < 0) return r; |