From ba45b27f8c1c4d56ebff7c584a471cdbce232ec8 Mon Sep 17 00:00:00 2001 From: Denis Osvald Date: Thu, 25 Aug 2016 13:54:54 +0200 Subject: [PATCH] ubusd: fix inverted check in ubusd_reply_add Signed-off-by: Denis Osvald --- ubusd_acl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- 2.30.2