summaryrefslogtreecommitdiffstats
path: root/src/network/networkd-dhcp4.c
diff options
context:
space:
mode:
authorYu Watanabe <watanabe.yu+github@gmail.com>2021-08-16 19:42:27 +0200
committerGitHub <noreply@github.com>2021-08-16 19:42:27 +0200
commit7c58ee5f8c7350efe8d3a77833810bfc4b6cb2b4 (patch)
tree8aab8a23e2f98b9aec4808f1040428f12344123a /src/network/networkd-dhcp4.c
parentunit: coldplug both job and nop_job if possible (diff)
parentman: address label can be set only for IPv4 addresses (diff)
downloadsystemd-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.c4
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;