summaryrefslogtreecommitdiffstats
path: root/dhcpcd.c
diff options
context:
space:
mode:
authorRoy Marples <roy@marples.name>2014-10-23 19:50:37 +0000
committerRoy Marples <roy@marples.name>2014-10-23 19:50:37 +0000
commit4c8486abdf8971cfd8c4074a3ca02e17bee5d43d (patch)
tree4478b284e404efd041cedaecbdeca07037b5b61d /dhcpcd.c
parent1d5d236a813dc87b987cfe054ffd7feb9be23715 (diff)
downloaddhcpcd-4c8486abdf8971cfd8c4074a3ca02e17bee5d43d.tar.xz
Fix timeout
Diffstat (limited to 'dhcpcd.c')
-rw-r--r--dhcpcd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/dhcpcd.c b/dhcpcd.c
index 8f9b56c9..2d966670 100644
--- a/dhcpcd.c
+++ b/dhcpcd.c
@@ -188,7 +188,7 @@ handle_exit_timeout(void *arg)
ctx = arg;
syslog(LOG_ERR, "timed out");
- if (!ctx->options & DHCPCD_MASTER) {
+ if (!(ctx->options & DHCPCD_MASTER)) {
eloop_exit(ctx->eloop, EXIT_FAILURE);
return;
}