Mercurial > hg > dhcpcd
changeset 5449:b8078525aa41 draft
DHCP: Fix compile without IPv4LL
| author | Roy Marples <roy@marples.name> |
|---|---|
| date | Sun, 06 Sep 2020 15:26:36 +0100 |
| parents | 4ebc88cbebe9 |
| children | d976db099a39 |
| files | src/dhcp.c |
| diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/src/dhcp.c Sun Sep 06 15:25:59 2020 +0100 +++ b/src/dhcp.c Sun Sep 06 15:26:36 2020 +0100 @@ -1873,12 +1873,12 @@ if (ifo->fallback) eloop_timeout_add_sec(ifp->ctx->eloop, ifo->reboot, dhcp_fallback, ifp); - #ifdef IPV4LL +#ifdef IPV4LL else if (ifo->options & DHCPCD_IPV4LL) eloop_timeout_add_sec(ifp->ctx->eloop, ifo->reboot, ipv4ll_start, ifp); +#endif } -#endif if (ifo->options & DHCPCD_REQUEST) loginfox("%s: soliciting a DHCP lease (requesting %s)", ifp->name, inet_ntoa(ifo->req_addr));
