summaryrefslogtreecommitdiff
path: root/options.c
diff options
context:
space:
mode:
authorJo-Philipp Wich <jow@openwrt.org>2013-03-10 20:09:16 +0100
committerJo-Philipp Wich <jow@openwrt.org>2013-03-10 20:21:31 +0100
commit0b61c395fc64cbc6d3550d80410a26aa49f1681c (patch)
treef740129f26e20363bc096d5f3bf8b06977f7ff23 /options.c
parent54c0625e83a5ddf77e1753885c96f488ba38f78a (diff)
downloadfirewall3-0b61c395fc64cbc6d3550d80410a26aa49f1681c.tar.gz
Introduce new enum values for zone src policies and map src policy to dst_flags bitfield, making the src_flags bitfield unnecessary
Diffstat (limited to 'options.c')
-rw-r--r--options.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/options.c b/options.c
index 6c5e2cf..344d33d 100644
--- a/options.c
+++ b/options.c
@@ -55,6 +55,10 @@ const char *fw3_flag_names[FW3_DEFAULT_DROP_INVALID + 1] = {
"NOTRACK",
"DNAT",
"SNAT",
+
+ "ACCEPT",
+ "REJECT",
+ "DROP",
};
static const char *limit_units[] = {