]> git.ipfire.org Git - thirdparty/dhcpcd.git/commitdiff
Fix build.
authorRoy Marples <roy@marples.name>
Mon, 27 Mar 2017 15:45:49 +0000 (16:45 +0100)
committerRoy Marples <roy@marples.name>
Mon, 27 Mar 2017 15:45:49 +0000 (16:45 +0100)
dhcp.c

diff --git a/dhcp.c b/dhcp.c
index 9f0190832c3cee8ca20b016aaa6a8016c37eaaa2..19f94976b424a988d88507ced00479448315f82f 100644 (file)
--- 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;
        }
 }