summaryrefslogtreecommitdiffhomepage
path: root/src/dhcpv4.h
diff options
context:
space:
mode:
authorSteven Barth <stbarth@cisco.com>2016-05-19 08:54:24 +0200
committerSteven Barth <stbarth@cisco.com>2016-05-19 08:54:24 +0200
commite63a2837acfaf54c97a9db466bf485e9f7024fe8 (patch)
tree1a73d72c653da69905a68042d77241e83a778747 /src/dhcpv4.h
parent1fcf0388078c7675187ff4f2f644aaf65138f261 (diff)
Add per-host leasetime support
Patch by Daniel Dickinson Signed-off-by: Steven Barth <steven@midlink.org>
Diffstat (limited to 'src/dhcpv4.h')
-rw-r--r--src/dhcpv4.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/dhcpv4.h b/src/dhcpv4.h
index 6c72441..6c4dd50 100644
--- a/src/dhcpv4.h
+++ b/src/dhcpv4.h
@@ -78,6 +78,7 @@ struct dhcpv4_assignment {
uint32_t addr;
time_t valid_until;
uint8_t hwaddr[6];
+ uint32_t leasetime;
char hostname[];
};