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:19:26 +0000 (16:19 +0100)
commit33a917f9c444fc6efb4a60de64d6fbe0e32f6d77
tree11277cc6c6e80016ade270bcfd2706c284456264
parent8297be5485c6444a24bc890099336271012cb9e1
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