summaryrefslogtreecommitdiff
path: root/src/systemd
diff options
context:
space:
mode:
authorSusant Sahani <ssahani@vmware.com>2020-05-20 06:30:05 +0200
committerSusant Sahani <ssahani@vmware.com>2020-05-20 06:30:05 +0200
commit4c0b8d563d5cc34fa69e6fa50589687aad321be4 (patch)
treeff62a13443068664c69661c5f64e63847ab0ec57 /src/systemd
parentd08a6ec39c2cb786bbf8ba2a8d480ada2973ad59 (diff)
downloadsystemd-4c0b8d563d5cc34fa69e6fa50589687aad321be4.tar.gz
sd-dhcpv4: Allow to configure lease lifetime
Diffstat (limited to 'src/systemd')
-rw-r--r--src/systemd/sd-dhcp-client.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/systemd/sd-dhcp-client.h b/src/systemd/sd-dhcp-client.h
index 032afc9f12..85b49bae74 100644
--- a/src/systemd/sd-dhcp-client.h
+++ b/src/systemd/sd-dhcp-client.h
@@ -185,6 +185,9 @@ int sd_dhcp_client_get_lease(
int sd_dhcp_client_set_service_type(
sd_dhcp_client *client,
int type);
+int sd_dhcp_client_set_fallback_lease_lifetime(
+ sd_dhcp_client *client,
+ uint32_t fallback_lease_lifetime);
int sd_dhcp_client_add_option(sd_dhcp_client *client, sd_dhcp_option *v);
int sd_dhcp_client_add_vendor_option(sd_dhcp_client *client, sd_dhcp_option *v);