diff options
author | Steven Barth <steven@midlink.org> | 2014-10-06 10:29:43 +0200 |
---|---|---|
committer | Steven Barth <steven@midlink.org> | 2014-10-06 10:29:43 +0200 |
commit | d6fe99f6d03873e7a670c9b6f26fa03b219422f5 (patch) | |
tree | 7a0dff1d97d69611b3e54ed5db65b117c63e5ec4 /src/odhcp6c.c | |
parent | 3e52a1448eee0fbf7ff67c123265bedcbc9c26d0 (diff) | |
download | odhcp6c-d6fe99f6d03873e7a670c9b6f26fa03b219422f5.tar.gz |
Export DHCPv6 server address to env
Diffstat (limited to 'src/odhcp6c.c')
-rw-r--r-- | src/odhcp6c.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/odhcp6c.c b/src/odhcp6c.c index 2357a9a..c76c813 100644 --- a/src/odhcp6c.c +++ b/src/odhcp6c.c @@ -266,6 +266,7 @@ int main(_unused int argc, char* const argv[]) while (!signal_term) { // Main logic odhcp6c_clear_state(STATE_SERVER_ID); + odhcp6c_clear_state(STATE_SERVER_ADDR); odhcp6c_clear_state(STATE_IA_NA); odhcp6c_clear_state(STATE_IA_PD); odhcp6c_clear_state(STATE_SNTP_IP); @@ -365,6 +366,7 @@ int main(_unused int argc, char* const argv[]) } odhcp6c_clear_state(STATE_SERVER_ID); // Remove binding + odhcp6c_clear_state(STATE_SERVER_ADDR); size_t ia_pd_len, ia_na_len; odhcp6c_get_state(STATE_IA_PD, &ia_pd_len); |