summaryrefslogtreecommitdiff
path: root/src/odhcp6c.c
diff options
context:
space:
mode:
authorSteven Barth <steven@midlink.org>2013-01-17 08:34:19 +0100
committerSteven Barth <steven@midlink.org>2013-01-17 08:34:19 +0100
commitdd5f1f8ca0a24d23dc426d6e89d9855a7b97fcec (patch)
tree8358a93be8398bbe84084d3d913a7b98f2c9e77f /src/odhcp6c.c
parentee149f5fe141ca6c34d562e26ab7300a644ee7b0 (diff)
downloadodhcp6c-dd5f1f8ca0a24d23dc426d6e89d9855a7b97fcec.tar.gz
Remove support for lost prefixes
Diffstat (limited to 'src/odhcp6c.c')
-rw-r--r--src/odhcp6c.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/odhcp6c.c b/src/odhcp6c.c
index 163db09..02f926a 100644
--- a/src/odhcp6c.c
+++ b/src/odhcp6c.c
@@ -170,7 +170,6 @@ int main(_unused int argc, char* const argv[])
odhcp6c_clear_state(STATE_SERVER_ID);
odhcp6c_clear_state(STATE_SERVER_CAND);
odhcp6c_clear_state(STATE_IA_PD);
- odhcp6c_clear_state(STATE_IA_PD_LOST);
odhcp6c_clear_state(STATE_SNTP_IP);
odhcp6c_clear_state(STATE_SNTP_FQDN);
odhcp6c_clear_state(STATE_SIP_IP);
@@ -261,12 +260,11 @@ int main(_unused int argc, char* const argv[])
size_t ia_pd_len, ia_na_len, server_id_len;
- uint8_t *ia_pd = odhcp6c_get_state(STATE_IA_PD, &ia_pd_len);
+ odhcp6c_get_state(STATE_IA_PD, &ia_pd_len);
odhcp6c_get_state(STATE_IA_NA, &ia_na_len);
odhcp6c_get_state(STATE_SERVER_ID, &server_id_len);
// Add all prefixes to lost prefixes
- odhcp6c_add_state(STATE_IA_PD_LOST, ia_pd, ia_pd_len);
odhcp6c_clear_state(STATE_IA_PD);
if (do_signal == SIGALRM)