diff options
author | Hannu Nyman <hannu.nyman@iki.fi> | 2015-10-28 13:07:47 +0200 |
---|---|---|
committer | Hannu Nyman <hannu.nyman@iki.fi> | 2015-10-28 13:07:47 +0200 |
commit | 87b6bb0dafbbe46dc7669356ac3db24aa975c4b7 (patch) | |
tree | e165fa665552fec0c99dae72297488981aff0bff /applications/luci-app-voice-diag/Makefile | |
parent | 47f9c14003d31b129e7889c4dbe373ca74c7d58e (diff) |
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>
Diffstat (limited to 'applications/luci-app-voice-diag/Makefile')
0 files changed, 0 insertions, 0 deletions