From 63936800cbd0eac2638268f906e9e368825c401b Mon Sep 17 00:00:00 2001 From: naddy Date: Tue, 30 May 2017 12:38:36 +0000 Subject: [PATCH] fix a jumbled conditional clang warns about; ok florian@ --- usr.sbin/slaacd/engine.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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); -- 2.20.1