X-Git-Url: http://git.archive.openwrt.org/?p=project%2Ffirewall3.git;a=blobdiff_plain;f=options.c;h=1f10050bb14d1117c7c50ef15230c5a42157c141;hp=5d325fcbb49658c04c3188f64d162f509c3b2f70;hb=2d73c2b436cc16d49ce706920802604150781dc9;hpb=8fee8f9c520c58d07772cc6bd8f65d9eb1776a56 diff --git a/options.c b/options.c index 5d325fc..1f10050 100644 --- a/options.c +++ b/options.c @@ -18,6 +18,23 @@ #include "options.h" +const char *fw3_flag_names[FW3_DEFAULT_DROP_INVALID + 1] = { + "filter", + "nat", + "mangle", + "raw", + + "IPv4", + "IPv6", + + "ACCEPT", + "REJECT", + "DROP", + "NOTRACK", + "DNAT", + "SNAT", +}; + bool fw3_parse_bool(void *ptr, const char *val) {