From: Roy Marples Date: Mon, 27 Mar 2017 15:45:49 +0000 (+0100) Subject: Fix build. X-Git-Tag: v6.11.6~3 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c071bfc46fb57fd91b5731272c7bd8be052cc0f0;p=thirdparty%2Fdhcpcd.git Fix build. --- diff --git a/dhcp.c b/dhcp.c index 9f019083..19f94976 100644 --- a/dhcp.c +++ b/dhcp.c @@ -3224,7 +3224,7 @@ dhcp_readpacket(void *arg) } dhcp_handlepacket(ifp, buf, (size_t)bytes, flags); /* Check we still have a state after processing. */ - if ((state = D_CSTATE(ifp)) == NULL || state->bpf_fd == -1) + if ((state = D_CSTATE(ifp)) == NULL || state->raw_fd == -1) break; } }