From: Roy Marples Date: Thu, 23 Oct 2014 19:50:37 +0000 (+0000) Subject: Fix timeout X-Git-Tag: v6.6.0~12 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4c8486abdf8971cfd8c4074a3ca02e17bee5d43d;p=thirdparty%2Fdhcpcd.git Fix timeout --- 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; }