]> git.ipfire.org Git - thirdparty/dhcpcd.git/commitdiff
Fix timeout
authorRoy Marples <roy@marples.name>
Thu, 23 Oct 2014 19:50:37 +0000 (19:50 +0000)
committerRoy Marples <roy@marples.name>
Thu, 23 Oct 2014 19:50:37 +0000 (19:50 +0000)
dhcpcd.c

index 8f9b56c9035205311acfa5aa43d6b8e8bd199d09..2d966670684337c7ecc2cc3aafc57c4770d2c31a 100644 (file)
--- 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;
        }