luci-base: ipmask, ipmask4 and ipmask6 validators
authorJo-Philipp Wich <jo@mein.io>
Mon, 23 Jan 2017 15:10:36 +0000 (16:10 +0100)
committerJo-Philipp Wich <jo@mein.io>
Mon, 23 Jan 2017 15:15:22 +0000 (16:15 +0100)
commite4b1bb315606c6c6078a1d3f81eea092762a47e7
tree8ada839aa22c7476b81a2b347eaa0b198a7178aa
parent937f4fbbdf8365664de2d1a20e382679a8f05543
luci-base: ipmask, ipmask4 and ipmask6 validators

These validators accept IP address specifications in the form

 - address
 - address/bits
 - address/netmask

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
modules/luci-base/htdocs/luci-static/resources/cbi.js
modules/luci-base/luasrc/cbi/datatypes.lua