luci-base: network.js: expose prefixToMask() and maskToPrefix()
authorJo-Philipp Wich <jo@mein.io>
Wed, 31 Jul 2019 06:41:53 +0000 (08:41 +0200)
committerJo-Philipp Wich <jo@mein.io>
Wed, 14 Aug 2019 20:58:15 +0000 (22:58 +0200)
commit00ec399fa134f7e76f3a911ab18f66a5b88a1558
tree812f839a9fcd5c490011730d96356162a559978c
parente64b0c3c0d1707b820f2cc5203d3017574cfa5a6
luci-base: network.js: expose prefixToMask() and maskToPrefix()

Expose the prefixToMask() and maskToPrefix() helper functions for use by
other modules, e.g. the datatype validator.

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