luci-app-firewall: use new ipmask validation types when applicable
authorJo-Philipp Wich <jo@mein.io>
Mon, 23 Jan 2017 15:18:20 +0000 (16:18 +0100)
committerJo-Philipp Wich <jo@mein.io>
Mon, 23 Jan 2017 15:18:20 +0000 (16:18 +0100)
commitc7939d3feb7efae3581ce39c5eb15ad30cb3012d
tree3ce7dd217495ba2120136372502fe46afa93155f
parente4b1bb315606c6c6078a1d3f81eea092762a47e7
luci-app-firewall: use new ipmask validation types when applicable

This allows for address specifications like "fdca:1234:0123::abcd/::ffff:ffff:ffff:ffff"
which only match the last 64 bits of an address. This syntax is legal and already supported
by iptables and firewall3.

Fixes https://bugs.lede-project.org/index.php?do=details&task_id=417

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
applications/luci-app-firewall/luasrc/model/cbi/firewall/forward-details.lua
applications/luci-app-firewall/luasrc/model/cbi/firewall/rule-details.lua
applications/luci-app-firewall/luasrc/model/cbi/firewall/zone-details.lua