diff options
author | Yu Watanabe <watanabe.yu+github@gmail.com> | 2021-08-16 19:42:27 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-08-16 19:42:27 +0200 |
commit | 7c58ee5f8c7350efe8d3a77833810bfc4b6cb2b4 (patch) | |
tree | 8aab8a23e2f98b9aec4808f1040428f12344123a /src/network/networkd-dhcp4.c | |
parent | unit: coldplug both job and nop_job if possible (diff) | |
parent | man: address label can be set only for IPv4 addresses (diff) | |
download | systemd-7c58ee5f8c7350efe8d3a77833810bfc4b6cb2b4.tar.xz systemd-7c58ee5f8c7350efe8d3a77833810bfc4b6cb2b4.zip |
Merge pull request #20443 from yuwata/network-conf-parser-cleanups
network: conf parser cleanups
Diffstat (limited to 'src/network/networkd-dhcp4.c')
-rw-r--r-- | src/network/networkd-dhcp4.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/network/networkd-dhcp4.c b/src/network/networkd-dhcp4.c index c35b5514a5..6b4f6aaabd 100644 --- a/src/network/networkd-dhcp4.c +++ b/src/network/networkd-dhcp4.c @@ -1844,7 +1844,8 @@ int config_parse_dhcp_ip_service_type( return 0; } -int config_parse_dhcp_fallback_lease_lifetime(const char *unit, +int config_parse_dhcp_fallback_lease_lifetime( + const char *unit, const char *filename, unsigned line, const char *section, @@ -1854,6 +1855,7 @@ int config_parse_dhcp_fallback_lease_lifetime(const char *unit, const char *rvalue, void *data, void *userdata) { + Network *network = userdata; uint32_t k; |