X-Git-Url: http://git.archive.openwrt.org/?p=project%2Ffirewall3.git;a=blobdiff_plain;f=zones.h;h=dfae81c9d013efe9e306dc7c7dc6e67a076bb128;hp=b78aa32ece58043e02db9c18fe4a1e94a1eaf9c4;hb=c3a5b984f6cec4014c1120ee900a53b452eb9e32;hpb=c307c10ba8edb637c58db1449434fdd6b751f7f0 diff --git a/zones.h b/zones.h index b78aa32..dfae81c 100644 --- a/zones.h +++ b/zones.h @@ -22,6 +22,9 @@ #include "options.h" #include "iptables.h" +/* 32 - sizeof("postrouting_") - sizeof("_rule") - sizeof("\0") */ +#define FW3_ZONE_MAXNAMELEN 14 + extern const struct fw3_option fw3_zone_opts[]; struct fw3_zone * fw3_alloc_zone(void);