struct interface *iface = state->interface;
int i = 0;
struct timeval tv;
+#ifdef ENABLE_ARP
struct in_addr addr;
-#ifdef ENABLE_ARP
timerclear(&tv);
switch (state->state) {
+#ifdef ENABLE_IPV4LL
case STATE_INIT_IPV4LL:
logger(LOG_INFO, "probing for an IPV4LL address");
state->state = STATE_PROBING;
state->claims = 0;
state->probes = 0;
/* FALLTHROUGH */
+#endif
case STATE_PROBING:
if (iface->arp_fd == -1)
open_socket(iface, ETHERTYPE_ARP);
break;
}
+#ifdef ENABLE_ARP
dhcp_timeout:
+#endif
get_time(&state->timeout);
tv.tv_sec = DHCP_BASE;
for (i = 1; i < state->messages; i++) {