diff mbox series

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

Message ID 1525852739-22905-1-git-send-email-pme.lebleu@gmail.com
State Accepted
Delegated to: John Crispin
Headers show
Series [LEDE-DEV] helpers: fix the set_helper in the rule structure | expand

Commit Message

Pierre Lebleu May 9, 2018, 7:58 a.m. UTC
The set_helper field has to be set by set_helper and not helper.

Signed-off-by: Pierre Lebleu <pme.lebleu@gmail.com>
---
 rules.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox series

Patch

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),