summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRoy Marples <roy@marples.name>2017-03-27 16:45:49 +0100
committerRoy Marples <roy@marples.name>2017-03-27 16:45:49 +0100
commitc071bfc46fb57fd91b5731272c7bd8be052cc0f0 (patch)
tree6d9d2a1cc66595c3164bec2da608dbcd9e9b5422
parent229e6ce549bfc738c7d09a98dc3dc77a716dc18e (diff)
downloaddhcpcd-c071bfc46fb57fd91b5731272c7bd8be052cc0f0.tar.xz
Fix build.
-rw-r--r--dhcp.c2
1 files changed, 1 insertions, 1 deletions
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;
}
}