luci/applications/luci-app-firewall/luasrc/model/cbi/firewall
Hannu Nyman 34e875b3d3 firewall: validate max length of zone name
fw3 sets the maximum length of the zone name to 14 and
ignores zone definitions with too long names.
http://nbd.name/gitweb.cgi?p=firewall3.git;a=blob;f=zones.h;hb=HEAD#l25
http://nbd.name/gitweb.cgi?p=firewall3.git;a=blob;f=zones.c;hb=HEAD#l195

Add a simple validation to ensure that the new zone name is short enough.
This should fix issue #345

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
2015-08-26 13:55:26 +03:00
..
custom.lua Update my email addresses in the license headers 2015-01-16 23:49:44 +01:00
forward-details.lua Update my email addresses in the license headers 2015-01-16 23:49:44 +01:00
forwards.lua Update my email addresses in the license headers 2015-01-16 23:49:44 +01:00
rule-details.lua Update my email addresses in the license headers 2015-01-16 23:49:44 +01:00
rules.lua Update my email addresses in the license headers 2015-01-16 23:49:44 +01:00
zone-details.lua firewall: validate max length of zone name 2015-08-26 13:55:26 +03:00
zones.lua Globally reduce copyright headers 2015-01-16 23:38:38 +01:00