Message ID | 0a3e77c7af0586f24ca0b54bc37617f87a8191dc.1472125392.git.denis.osvald@sartura.hr |
---|---|
State | Changes Requested |
Delegated to: | John Crispin |
Headers | show
Return-Path: <openwrt-devel-bounces@lists.openwrt.org> X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from arrakis.dune.hu (arrakis.dune.hu [78.24.191.176]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 3sKjLc6b9Wz9sD5 for <incoming@patchwork.ozlabs.org>; Thu, 25 Aug 2016 21:56:08 +1000 (AEST) Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=sartura-hr.20150623.gappssmtp.com header.i=@sartura-hr.20150623.gappssmtp.com header.b=X7BWmN5G; dkim-atps=neutral Received: from arrakis.dune.hu (localhost [127.0.0.1]) by arrakis.dune.hu (Postfix) with ESMTP id 5EE53B91FDF; Thu, 25 Aug 2016 13:55:20 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on arrakis.dune.hu X-Spam-Level: X-Spam-Status: No, score=-1.5 required=5.0 tests=BAYES_00,T_DKIM_INVALID autolearn=unavailable autolearn_force=no version=3.4.1 Received: from arrakis.dune.hu (localhost [127.0.0.1]) by arrakis.dune.hu (Postfix) with ESMTP; Thu, 25 Aug 2016 13:55:20 +0200 (CEST) Received: from arrakis.dune.hu (localhost [127.0.0.1]) by arrakis.dune.hu (Postfix) with ESMTP id 9B1A3B91FBD for <openwrt-devel@lists.openwrt.org>; Thu, 25 Aug 2016 13:55:15 +0200 (CEST) X-policyd-weight: using cached result; rate: -7 Received: from mail-wm0-f52.google.com (mail-wm0-f52.google.com [74.125.82.52]) by arrakis.dune.hu (Postfix) with ESMTPS for <openwrt-devel@lists.openwrt.org>; Thu, 25 Aug 2016 13:55:15 +0200 (CEST) Received: by mail-wm0-f52.google.com with SMTP id i5so67916980wmg.0 for <openwrt-devel@lists.openwrt.org>; Thu, 25 Aug 2016 04:55:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sartura-hr.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:in-reply-to:references :in-reply-to:references; bh=7y/insZI61NZlEmYRWCJ+64f934pT7F1FUxOOCK6OGM=; b=X7BWmN5Ggc1yuPAGWHqCHN008XRnb19LukccrxhfEwpxq+E3HQMfwIzkMvbawg5Mug SDbiQIv6nFdD0hAC/5yWdtEoOfIm2iZgpZwAy0NtLSJbdX7l/61ORvMjGmp1yT0ORAjA y+3UrjLBWm1d+HL7OG34tkBr8K3VQcS/hHzw29aWAURcsKEW850Q9CKXJdEbFMCxaYSc 4fBHfF8LCnfdhs+CN0/+/0WdMvvo2Lpd8Lg4B8csc0imn104x3Av1xsYeQAXNEV50Upm VsczNwGhfzQv2bg55U73zR47ynI90FJp4P0sQcOGPvh3RM7WO7lhCnQSjwd1JnlqS8zE wffA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:in-reply-to:references; bh=7y/insZI61NZlEmYRWCJ+64f934pT7F1FUxOOCK6OGM=; b=TesPrTA/0bHOvemFgGOruO2K64PNoatNBmldq5JSl601Gv8csM1clIADy+vqP4Y9w6 mI3FlszlLdd54o8O6n73zYB9j2JHkACaC3rHGHS/1b+eTwGbyg1MdHgkZjfmUkun49Fg MaqH2Hq5kGl3dNcly04mf1jRo1RVytINPy7wB3NWSyAEXLsCPnySTSSA/2ym596QLsSL J5FPZgqxYafjCzcX+cn7ji1sWMO68RU6fyltY8AY6CGKQ063cyMNF/O68682n6U49J4V 5NS/Dnuo+d6cHlU6ULsDaBDDjramostLxpS0ez/Ehyf9eoZT6Ra1UF6Nk716ZCxxreIn hkag== X-Gm-Message-State: AEkoouvnHmt4zvFBf0+xmZdd4nIzIq51npodUV21DeqTqXPR0kPZCGf7okIGEeHTItz+CDy/4tfSbGkeuvvIKEw6EJV+6EzT5jO0m1dZg8X5r3i8xgmiJ6tORf1mbQSDegD3Nv3fkvI4Nx5W/hH3iMyCv0UdUsKO4t+O6AVOQYFkjoVhSq2QnRnB/z+iIriTQWFcGMMlgA== X-Received: by 10.28.39.134 with SMTP id n128mr28138330wmn.60.1472126114994; Thu, 25 Aug 2016 04:55:14 -0700 (PDT) Received: from localhost.localdomain (cpe-94-253-164-115.zg.cable.xnet.hr. [94.253.164.115]) by smtp.gmail.com with ESMTPSA id n131sm38428455wmd.3.2016.08.25.04.55.13 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 25 Aug 2016 04:55:14 -0700 (PDT) From: Denis Osvald <denis.osvald@sartura.hr> To: openwrt-devel@lists.openwrt.org Date: Thu, 25 Aug 2016 13:54:54 +0200 Message-Id: <0a3e77c7af0586f24ca0b54bc37617f87a8191dc.1472125392.git.denis.osvald@sartura.hr> X-Mailer: git-send-email 2.9.3 In-Reply-To: <cover.1472125392.git.denis.osvald@sartura.hr> References: <cover.1472125392.git.denis.osvald@sartura.hr> In-Reply-To: <cover.1472125392.git.denis.osvald@sartura.hr> References: <cover.1472125392.git.denis.osvald@sartura.hr> Subject: [OpenWrt-Devel] [PATCH ubus 3/3] ubusd: fix inverted check in ubusd_reply_add X-BeenThere: openwrt-devel@lists.openwrt.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: OpenWrt Development List <openwrt-devel.lists.openwrt.org> List-Unsubscribe: <https://lists.openwrt.org/cgi-bin/mailman/options/openwrt-devel>, <mailto:openwrt-devel-request@lists.openwrt.org?subject=unsubscribe> List-Archive: <http://lists.openwrt.org/pipermail/openwrt-devel/> List-Post: <mailto:openwrt-devel@lists.openwrt.org> List-Help: <mailto:openwrt-devel-request@lists.openwrt.org?subject=help> List-Subscribe: <https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel>, <mailto:openwrt-devel-request@lists.openwrt.org?subject=subscribe> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 Errors-To: openwrt-devel-bounces@lists.openwrt.org Sender: "openwrt-devel" <openwrt-devel-bounces@lists.openwrt.org> |
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);
Signed-off-by: Denis Osvald <denis.osvald@sartura.hr> --- ubusd_acl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)