Skip to content

Commit 9c48f4c

Browse files
committed
DHCP6: Don't restart INFORM timers on subsequent failure.
1 parent 385ff24 commit 9c48f4c

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/dhcp6.c

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1818,8 +1818,9 @@ dhcp6_startinform(void *arg)
18181818
* merely one facet of the lease as a whole.
18191819
* This poor wording might explain the lack of similar text for INFORM
18201820
* in 18.1.5 because there are no addresses in the INFORM message. */
1821-
eloop_timeout_add_sec(ifp->ctx->eloop,
1822-
INF_MAX_RD, dhcp6_failinform, ifp);
1821+
if (!state->failed)
1822+
eloop_timeout_add_sec(ifp->ctx->eloop,
1823+
INF_MAX_RD, dhcp6_failinform, ifp);
18231824
}
18241825

18251826
static bool

0 commit comments

Comments
 (0)