summaryrefslogtreecommitdiff
path: root/client/dhc6.c
diff options
context:
space:
mode:
Diffstat (limited to 'client/dhc6.c')
-rw-r--r--client/dhc6.c9
1 files changed, 3 insertions, 6 deletions
diff --git a/client/dhc6.c b/client/dhc6.c
index b5a35f4b..16a08380 100644
--- a/client/dhc6.c
+++ b/client/dhc6.c
@@ -5141,12 +5141,9 @@ do_decline6(void *input)
decline_done:
/* We here because we've exhausted our retry limits or
* something else has gone wrong with the decline process.
- * So let's just toss the existing lease and start over.
- */
- if (client->active_lease != NULL) {
- dhc6_lease_destroy(&client->active_lease, MDL);
- client->active_lease = NULL;
- }
+ * So let's just toss the existing lease and start over. */
+ dhc6_lease_destroy(&client->active_lease, MDL);
+ client->active_lease = NULL;
start_init6(client);
return;