From d6fe99f6d03873e7a670c9b6f26fa03b219422f5 Mon Sep 17 00:00:00 2001 From: Steven Barth Date: Mon, 6 Oct 2014 10:29:43 +0200 Subject: Export DHCPv6 server address to env --- src/odhcp6c.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/odhcp6c.h') diff --git a/src/odhcp6c.h b/src/odhcp6c.h index 59c4a42..a4343b1 100644 --- a/src/odhcp6c.h +++ b/src/odhcp6c.h @@ -123,7 +123,7 @@ enum dhcpv6_config { }; typedef int(reply_handler)(enum dhcpv6_msg orig, const int rc, - const void *opt, const void *end); + const void *opt, const void *end, const struct sockaddr_in6 *from); // retransmission strategy struct dhcpv6_retx { @@ -246,6 +246,7 @@ enum odhcp6c_state { STATE_CLIENT_ID, STATE_SERVER_ID, STATE_SERVER_CAND, + STATE_SERVER_ADDR, STATE_ORO, STATE_DNS, STATE_SEARCH, -- cgit v1.2.1