summaryrefslogtreecommitdiff
path: root/src/libsystemd-network/dhcp-server-internal.h
diff options
context:
space:
mode:
authorTom Gundersen <teg@jklm.no>2014-05-25 21:47:38 +0200
committerTom Gundersen <teg@jklm.no>2014-06-13 17:07:19 +0200
commitc7d9ffe6d629cb5b34dd749e4a88b190b11a0f48 (patch)
tree9b6b4b66813dbc6a2815f86e2fe280ed5e1ac567 /src/libsystemd-network/dhcp-server-internal.h
parentbd57b45029ff25067704c9538e79f31e71c10045 (diff)
sd-dhcp-server: add support for clients requesting lease lifetime
Diffstat (limited to 'src/libsystemd-network/dhcp-server-internal.h')
-rw-r--r--src/libsystemd-network/dhcp-server-internal.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/libsystemd-network/dhcp-server-internal.h b/src/libsystemd-network/dhcp-server-internal.h
index cd480e7bba..ce2e260945 100644
--- a/src/libsystemd-network/dhcp-server-internal.h
+++ b/src/libsystemd-network/dhcp-server-internal.h
@@ -58,6 +58,7 @@ typedef struct DHCPRequest {
size_t max_optlen;
be32_t server_id;
be32_t requested_ip;
+ int lifetime;
} DHCPRequest;
DEFINE_TRIVIAL_CLEANUP_FUNC(sd_dhcp_server*, sd_dhcp_server_unref);