luci/applications/luci-app-firewall/luasrc
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
..
controller Rework LuCI build system 2015-01-08 16:26:20 +01:00
model/cbi/firewall firewall: validate max length of zone name 2015-08-26 13:55:26 +03:00
tools Update my email addresses in the license headers 2015-01-16 23:49:44 +01:00
view/firewall luci-app-firewall: rework internal/external zone list handling when adding forwards 2015-01-26 17:55:09 +01:00