[OpenWrt-Devel] [PATCH ubus 3/3] ubusd: fix inverted check in ubusd_reply_add
Denis Osvald
denis.osvald at sartura.hr
Thu Aug 25 07:54:54 EDT 2016
Signed-off-by: Denis Osvald <denis.osvald at sartura.hr>
---
ubusd_acl.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/ubusd_acl.c b/ubusd_acl.c
index 2db515e..0028431 100644
--- a/ubusd_acl.c
+++ b/ubusd_acl.c
@@ -432,7 +432,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.9.3
_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
More information about the openwrt-devel
mailing list