summaryrefslogtreecommitdiffhomepage
path: root/protocols/luci-proto-cni/htdocs/luci-static
diff options
context:
space:
mode:
Diffstat (limited to 'protocols/luci-proto-cni/htdocs/luci-static')
-rw-r--r--protocols/luci-proto-cni/htdocs/luci-static/resources/protocol/cni.js8
1 files changed, 8 insertions, 0 deletions
diff --git a/protocols/luci-proto-cni/htdocs/luci-static/resources/protocol/cni.js b/protocols/luci-proto-cni/htdocs/luci-static/resources/protocol/cni.js
new file mode 100644
index 0000000000..7e22398485
--- /dev/null
+++ b/protocols/luci-proto-cni/htdocs/luci-static/resources/protocol/cni.js
@@ -0,0 +1,8 @@
+'use strict';
+'require network';
+
+return network.registerProtocol('cni', {
+ getI18n: function () {
+ return _('CNI (Externally managed interface)');
+ }
+});