[LEDE-DEV] [PATCH] helpers: fix the set_helper in the rule structure

Pierre Lebleu pme.lebleu at gmail.com
Wed May 9 00:58:59 PDT 2018


The set_helper field has to be set by set_helper and not helper.

Signed-off-by: Pierre Lebleu <pme.lebleu at gmail.com>
---
 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),
 
-- 
1.9.1




More information about the Lede-dev mailing list