# HG changeset patch # User Roy Marples # Date 1599402396 -3600 # Node ID b8078525aa41b5256fc3abdb85b5c58969e6179d # Parent 4ebc88cbebe9e4a88df49871df1426ceaf1ab754 DHCP: Fix compile without IPv4LL diff -r 4ebc88cbebe9 -r b8078525aa41 src/dhcp.c --- 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));