]> git.ipfire.org Git - thirdparty/dhcpcd.git/commitdiff
Fix compile on FreeBSD
authorRoy Marples <roy@marples.name>
Thu, 31 Dec 2015 16:02:53 +0000 (16:02 +0000)
committerRoy Marples <roy@marples.name>
Thu, 31 Dec 2015 16:02:53 +0000 (16:02 +0000)
if.c

diff --git a/if.c b/if.c
index f3d8ec1a0ace978330b4853edf5e56631a4ec901..791d27e996262588f6d2d0d901962a0ca216997c 100644 (file)
--- a/if.c
+++ b/if.c
@@ -444,7 +444,7 @@ if_discover(struct dhcpcd_ctx *ctx, int argc, char * const *argv)
                                if ((argc == 0 || argc == -1) &&
                                    ctx->ifac == 0 &&
                                    !if_hasconf(ctx, ifp->name))
-                                       active = false;
+                                       active = 0;
                                if (active)
                                        logger(ifp->ctx, LOG_WARNING,
                                            "%s: unsupported"