summaryrefslogtreecommitdiffhomepage
path: root/src/dhcpv6.h
diff options
context:
space:
mode:
authorHans Dedecker <dedeckeh@gmail.com>2016-12-14 22:22:22 +0100
committerHans Dedecker <dedeckeh@gmail.com>2016-12-15 15:17:15 +0100
commite05553099c47b92420c21ff30b07709dfa40a84a (patch)
tree199eb5e05966f5a96a064a4fab705ee76529ba2b /src/dhcpv6.h
parent3af23ad72888393a863d7be545d1bd5af99ca442 (diff)
Don't print non bound assignments in the state file
Set bound flag for DHCPv4 and DHCPv6 assignments when the IPv6/IPv4 address is leased to a client. This will prevent the printing of leases and hostname/IPv4/IPv6 address combinations in the state file for for which the IPv4/6 address has not been assigned. Also this will fix the printing of assignments which have been declined by the clients Signed-off-by: Hans Dedecker <dedeckeh@gmail.com>
Diffstat (limited to 'src/dhcpv6.h')
-rw-r--r--src/dhcpv6.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/dhcpv6.h b/src/dhcpv6.h
index 09ab46f..c0775f1 100644
--- a/src/dhcpv6.h
+++ b/src/dhcpv6.h
@@ -156,6 +156,7 @@ struct dhcpv6_assignment {
struct ustream_fd managed_sock;
uint32_t leasetime;
+ unsigned int flags;
uint8_t clid_len;
uint8_t clid_data[];