helpers: fix the set_helper in the rule structure
authorPierre Lebleu <pme.lebleu@gmail.com>
Wed, 9 May 2018 07:58:59 +0000 (09:58 +0200)
committerJohn Crispin <john@phrozen.org>
Mon, 14 May 2018 14:15:18 +0000 (16:15 +0200)
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

diff --git a/rules.c b/rules.c
index 58edcd4562f2d07699b13a3eab3a53a9bc5f9d61..5e1d5f3a6385fe084f53d9e4feae8659c4afe2ac 100644 (file)
--- 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),