RENEW vs. BOUND
Olaf Westrik
Fri Feb 13 10:03:06 2015
Hi,
I have a question about commit 7dc0e4a12f (Fix transition from IPv4LL to
a valid DHCP state)
Especially this change in dhcpcd.c
@@ -1923,9 +1921,9 @@
eloop_exit(ifp->ctx->eloop, EXIT_SUCCESS);
return;
}
if (state->reason == NULL) {
- if (state->old) {
+ if (state->old && state->new->cookie != htonl(MAGIC_COOKIE)) {
if (state->old->yiaddr == state->new->yiaddr &&
lease->server.s_addr)
state->reason = "RENEW";
else
The effect I see is that every RENEW in my environment is now reported
as BOUND, because new->cookie equals the magic cookie. The code
This differs from previous behaviour.
Is this expected/wanted?
Olaf
Archive administrator: postmaster@marples.name