From patchwork Wed May 9 07:58:59 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Pierre Lebleu X-Patchwork-Id: 910691 X-Patchwork-Delegate: blogic@openwrt.org Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (mailfrom) smtp.mailfrom=lists.infradead.org (client-ip=2607:7c80:54:e::133; helo=bombadil.infradead.org; envelope-from=lede-dev-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org; receiver=) Authentication-Results: ozlabs.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="JOXPz/c2"; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="o4Ltl0QR"; dkim-atps=neutral Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2607:7c80:54:e::133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 40gpfk0BTQz9s3D for ; Wed, 9 May 2018 17:59:41 +1000 (AEST) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:Subject:Message-Id: Date:To:From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=jRZXTZ8ZiUqOg/CXk64vwedKyrt1MD2I5hUa8DtJMyI=; b=JOXPz/c2jlr5kE rhr3ODYvTWtTtkoBc9Xd8Ipazd0LTyUvk2GR8vuRUZ+LMjEMnr0tFGvGQFWJXbI3GEcPlEio5yMaX a6DD9dxIiL1NQfU8x6TuCcBTygEFJ42bhkd62KNcbLz5Wb4gycuYybaKbzUbHUcrzADIvQicSbIQq 1NtBj+/blBLXYjXzB6mP/vc+HJ5v7m7QQ3paceeuIMePxibwSg6ycR6HhPhz/F8NT1ktj3sUiNrS0 fAQXSdaZ4uY2XwIeCLlXU/CCk2cwbl/D1yYZd1sCRm+Q45wzpqdAhdiztUzLNrmy4gD4H3vyCWdS5 FpM6w1IfBYh1TOktb1Fw==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1fGK0T-0007AD-Nf; Wed, 09 May 2018 07:59:25 +0000 Received: from mail-wr0-x243.google.com ([2a00:1450:400c:c0c::243]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1fGK0Q-00078R-9h for lede-dev@lists.infradead.org; Wed, 09 May 2018 07:59:23 +0000 Received: by mail-wr0-x243.google.com with SMTP id p18-v6so34794118wrm.1 for ; Wed, 09 May 2018 00:59:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id; bh=2ysevoHzXUB9ibbtlJneM9vAJ7v2rCmauTLNrChhCGc=; b=o4Ltl0QRtBxbmDAqwRkUYM9MuHhokZkSo0U9Dzzm/TXtt5yAkdt9gVeCPFKZozWNJx Ga9nzxHw0qUo3VG9XnIimZhWOFoYdRc8mKEk/ocLSgfzc6ecI/3/3yBJET9shsqz4dQF ZJokcCHdrHH/uKye6wAJ33dabkOfiBqCqUzS+YLYUXvwSjOCBxpd0mYgnbQa7sZ7/zZl dhHiqirYxvwpzj4VzHImFnH3gVygsqllou/T1Tz+DdxSbWY7QiILPpe6oNK8M1WlcUaD IGOkdT4qfoknlSg/+jH5OE1oqUNABIksb1wfCfrFRkHtcW2F9/26DXVwIXdtrLRlaa4c 7oEw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=2ysevoHzXUB9ibbtlJneM9vAJ7v2rCmauTLNrChhCGc=; b=YbnvwR8ZuQrvH23tadfUBbJ754d+zh0FEfQU7Y8g2j/JNenje+Evfo+M+h6d7g2ZjY YP19KvMSZLNSAnOCXFAQNSEMYyNesQw9lcyMWrrW4/Vk09hhf8MOJ7ahX39ecdOwBTgM 5t+2fupny3LNROO0Igi8Azxx4U08luKYXb6sc/aLBxYacWd7bjC90rwhwamHzw2D7Tkr EDGqyBxcHLYiwYW+eq7pZLC49/mOf3mX2fkS0Kze78aVKvw7x70khg2kDClR0tKdnCth iH26cvfsiP6r8pgscf08tEaCyj2YIwwsA9+9Lrnr2JJp82pin5NGbD+vyrj3HyJ1hZEI B2iQ== X-Gm-Message-State: ALQs6tBEspaAJoF646mkmcW702BSJQ3uAWHeK1NF5nBbuMDmcqzG3ROI BSJKmu+uJ3LfBUkBPSt9wXg= X-Google-Smtp-Source: AB8JxZoQIvENEL0hjtSCyMKrhnfS+K0HFWS6UbDh0urDx1iD6jCJbKSqTqpbJI3/D7WIyCKPnar9hg== X-Received: by 2002:adf:891a:: with SMTP id s26-v6mr4487206wrs.276.1525852750149; Wed, 09 May 2018 00:59:10 -0700 (PDT) Received: from localhost (14.125.146.82.ipv4.evonet.be. [82.146.125.14]) by smtp.gmail.com with ESMTPSA id 44-v6sm39230069wrv.47.2018.05.09.00.59.09 (version=TLS1_2 cipher=AES128-SHA bits=128/128); Wed, 09 May 2018 00:59:09 -0700 (PDT) From: Pierre Lebleu To: Jo-Philipp Wich , lede-dev@lists.infradead.org Date: Wed, 9 May 2018 09:58:59 +0200 Message-Id: <1525852739-22905-1-git-send-email-pme.lebleu@gmail.com> X-Mailer: git-send-email 1.9.1 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20180509_005922_359671_2BAB305B X-CRM114-Status: GOOD ( 11.06 ) X-Spam-Score: -0.1 (/) X-Spam-Report: SpamAssassin version 3.4.1 on bombadil.infradead.org summary: Content analysis details: (-0.1 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at http://www.dnswl.org/, no trust [2a00:1450:400c:c0c:0:0:0:243 listed in] [list.dnswl.org] -0.0 SPF_PASS SPF: sender matches SPF record 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (pme.lebleu[at]gmail.com) -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain Subject: [LEDE-DEV] [PATCH] helpers: fix the set_helper in the rule structure X-BeenThere: lede-dev@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Pierre Lebleu MIME-Version: 1.0 Sender: "Lede-dev" Errors-To: lede-dev-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org The set_helper field has to be set by set_helper and not helper. Signed-off-by: Pierre Lebleu --- rules.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rules.c b/rules.c index ea66771..f6b6044 100644 --- a/rules.c +++ b/rules.c @@ -33,7 +33,7 @@ const struct fw3_option fw3_rule_opts[] = { FW3_OPT("ipset", setmatch, rule, ipset), FW3_OPT("helper", cthelper, rule, helper), - FW3_OPT("set_helper", cthelper, rule, helper), + FW3_OPT("set_helper", cthelper, rule, set_helper), FW3_LIST("proto", protocol, rule, proto),