summaryrefslogtreecommitdiff
path: root/src/odhcp6c.h
diff options
context:
space:
mode:
authorSteven Barth <steven@midlink.org>2014-10-06 10:29:43 +0200
committerSteven Barth <steven@midlink.org>2014-10-06 10:29:43 +0200
commitd6fe99f6d03873e7a670c9b6f26fa03b219422f5 (patch)
tree7a0dff1d97d69611b3e54ed5db65b117c63e5ec4 /src/odhcp6c.h
parent3e52a1448eee0fbf7ff67c123265bedcbc9c26d0 (diff)
downloadodhcp6c-d6fe99f6d03873e7a670c9b6f26fa03b219422f5.tar.gz
Export DHCPv6 server address to env
Diffstat (limited to 'src/odhcp6c.h')
-rw-r--r--src/odhcp6c.h3
1 files changed, 2 insertions, 1 deletions
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,