diff options
author | Oskari Rauta <oskari.rauta@gmail.com> | 2023-03-13 01:10:48 +0200 |
---|---|---|
committer | Oskari Rauta <oskari.rauta@gmail.com> | 2023-03-15 14:54:23 +0200 |
commit | 8cd2793b2cb01fb6fc1c7d202e8dee75988e2c35 (patch) | |
tree | d14d20f223c4e385548d63e9903b0d5b96ec64a8 /protocols/luci-proto-cni/htdocs/luci-static | |
parent | c7df6e7ea5e77ef82b16b7157d8ee5977802bd10 (diff) |
luci-proto-cni: add package
adds support for cni-protocol in luci
Signed-off-by: Oskari Rauta <oskari.rauta@gmail.com>
Diffstat (limited to 'protocols/luci-proto-cni/htdocs/luci-static')
-rw-r--r-- | protocols/luci-proto-cni/htdocs/luci-static/resources/protocol/cni.js | 8 |
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)'); + } +}); |