From: naddy Date: Tue, 30 May 2017 12:38:36 +0000 (+0000) Subject: fix a jumbled conditional clang warns about; ok florian@ X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=63936800cbd0eac2638268f906e9e368825c401b;p=openbsd fix a jumbled conditional clang warns about; ok florian@ --- diff --git a/usr.sbin/slaacd/engine.c b/usr.sbin/slaacd/engine.c index 329e62e91ea..18dd4f273cd 100644 --- a/usr.sbin/slaacd/engine.c +++ b/usr.sbin/slaacd/engine.c @@ -1,4 +1,4 @@ -/* $OpenBSD: engine.c,v 1.27 2017/05/29 08:59:42 florian Exp $ */ +/* $OpenBSD: engine.c,v 1.28 2017/05/30 12:38:36 naddy Exp $ */ /* * Copyright (c) 2017 Florian Obser @@ -482,7 +482,7 @@ engine_dispatch_frontend(int fd, short event, void *bula) need_refresh = 1; } - if (!iface->state == IF_DOWN && + if (iface->state != IF_DOWN && imsg_ifinfo.running && need_refresh) start_probe(iface);