summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPierre Lebleu <pme.lebleu@gmail.com>2018-05-09 09:58:59 +0200
committerJohn Crispin <john@phrozen.org>2018-05-14 16:15:18 +0200
commitb45e162eca2c6e913318c4552643aae2a973ae3a (patch)
treef12907444b8ed72653454b96fbf0c793f7c3858b
parentf742ba7d20cb07f6306ebacedbb165b3fc7064ad (diff)
downloadfirewall3-b45e162eca2c6e913318c4552643aae2a973ae3a.tar.gz
helpers: fix the set_helper in the rule structure
The set_helper field has to be set by set_helper and not helper. Signed-off-by: Pierre Lebleu <pme.lebleu@gmail.com>
-rw-r--r--rules.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/rules.c b/rules.c
index 58edcd4..5e1d5f3 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),