From: Denis Osvald Date: Thu, 25 Aug 2016 11:54:54 +0000 (+0200) Subject: ubusd: fix inverted check in ubusd_reply_add X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=ba45b27f8c1c4d56ebff7c584a471cdbce232ec8;p=oweals%2Fubus.git ubusd: fix inverted check in ubusd_reply_add Signed-off-by: Denis Osvald --- diff --git a/ubusd_acl.c b/ubusd_acl.c index 2700c86..4b72663 100644 --- a/ubusd_acl.c +++ b/ubusd_acl.c @@ -434,7 +434,7 @@ ubusd_reply_add(struct ubus_object *obj) if (!acl->priv) continue; - if (!ubusd_acl_match_path(obj->path.key, acl->avl.key, NULL)) + if (ubusd_acl_match_path(obj->path.key, acl->avl.key, NULL)) continue; c = blobmsg_open_table(&b, NULL);