summaryrefslogtreecommitdiffhomepage
path: root/modules
diff options
context:
space:
mode:
Diffstat (limited to 'modules')
-rw-r--r--modules/luci-base/htdocs/luci-static/resources/network.js3
1 files changed, 3 insertions, 0 deletions
diff --git a/modules/luci-base/htdocs/luci-static/resources/network.js b/modules/luci-base/htdocs/luci-static/resources/network.js
index 87697a8a43..93896549bc 100644
--- a/modules/luci-base/htdocs/luci-static/resources/network.js
+++ b/modules/luci-base/htdocs/luci-static/resources/network.js
@@ -594,6 +594,9 @@ function deviceSort(a, b) {
var Network, Protocol, Device, WifiDevice, WifiNetwork;
Network = L.Class.extend({
+ prefixToMask: prefixToMask,
+ maskToPrefix: maskToPrefix,
+
flushCache: function() {
return Promise.resolve(_state).then(function() {
_flush = true;