summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDenis Osvald <denis.osvald@sartura.hr>2016-08-25 13:54:54 +0200
committerFelix Fietkau <nbd@nbd.name>2016-09-05 13:59:34 +0200
commitba45b27f8c1c4d56ebff7c584a471cdbce232ec8 (patch)
tree709f35979880f7abeeb0c413a468f6b1ae9016a0
parentd6bb4f1a1ddab325024966cd79abd34364dfdd15 (diff)
downloadubus-ba45b27f8c1c4d56ebff7c584a471cdbce232ec8.tar.gz
ubusd: fix inverted check in ubusd_reply_add
Signed-off-by: Denis Osvald <denis.osvald@sartura.hr>
-rw-r--r--ubusd_acl.c2
1 files changed, 1 insertions, 1 deletions
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);