Mercurial > hg > dhcpcd
changeset 4199:4ba50d96e94d draft
dhcp: don't bind when we've just probed an address to inform
This fixes an early fork issue.
| author | Roy Marples <roy@marples.name> |
|---|---|
| date | Tue, 02 Jan 2018 16:36:04 +0000 |
| parents | 18e6c9832039 |
| children | 8fca3338b9ad |
| files | src/dhcp.c |
| diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/dhcp.c Mon Jan 01 11:17:56 2018 +0000 +++ b/src/dhcp.c Tue Jan 02 16:36:04 2018 +0000 @@ -2076,7 +2076,7 @@ logdebugx("%s: DAD completed for %s", ifp->name, inet_ntoa(astate->addr)); - if (state->state != DHS_INFORM) + if (!(ifo->options & DHCPCD_INFORM)) dhcp_bind(ifp); #ifndef IN_IFF_TENTATIVE else {
