luci/applications/luci-app-firewall
Hannu Nyman 87b6bb0daf luci-app-firewall: limit zone name length to 11 characters
Change the maximum length of a firewall zone name from 14 to 11 characters.

Longer names break iptables rule generation (max. 29 chars are allowed).

XT_EXTENSION_MAXNAMELEN = 29
29 - sizeof("postrouting_") - sizeof("_rule") - sizeof("\0") = 11

References to:
https://github.com/openwrt/luci/issues/507
https://dev.openwrt.org/ticket/20380

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
2015-10-28 13:07:47 +02:00
..
luasrc luci-app-firewall: limit zone name length to 11 characters 2015-10-28 13:07:47 +02:00
po i18n/polish/firewall: typo 2015-09-17 18:18:38 +02:00
Makefile Rework LuCI build system 2015-01-08 16:26:20 +01:00