ubusd: fix inverted check in ubusd_reply_add

Signed-off-by: Denis Osvald <denis.osvald@sartura.hr>
This commit is contained in:
Denis Osvald 2016-08-25 13:54:54 +02:00 committed by Felix Fietkau
parent d6bb4f1a1d
commit ba45b27f8c

View file

@ -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);