summaryrefslogtreecommitdiffhomepage
path: root/protocols/luci-proto-autoip/htdocs/luci-static/resources/protocol/autoip.js
diff options
context:
space:
mode:
authorJo-Philipp Wich <jo@mein.io>2022-12-19 15:28:06 +0100
committerJo-Philipp Wich <jo@mein.io>2022-12-19 15:28:06 +0100
commit2965e527f578abda1dc58dd540343422455be3ac (patch)
tree235c02c4657ac1d2bc9750755abd7248c8a60250 /protocols/luci-proto-autoip/htdocs/luci-static/resources/protocol/autoip.js
parenta27d2dbc32785c3389ea77a26714e7f6c67c9185 (diff)
luci-proto-autoip: add protocol support for avahi-autoipd
Fixes: #6162 Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Diffstat (limited to 'protocols/luci-proto-autoip/htdocs/luci-static/resources/protocol/autoip.js')
-rw-r--r--protocols/luci-proto-autoip/htdocs/luci-static/resources/protocol/autoip.js16
1 files changed, 16 insertions, 0 deletions
diff --git a/protocols/luci-proto-autoip/htdocs/luci-static/resources/protocol/autoip.js b/protocols/luci-proto-autoip/htdocs/luci-static/resources/protocol/autoip.js
new file mode 100644
index 0000000000..8223af29e5
--- /dev/null
+++ b/protocols/luci-proto-autoip/htdocs/luci-static/resources/protocol/autoip.js
@@ -0,0 +1,16 @@
+'use strict';
+'require network';
+
+return network.registerProtocol('3g', {
+ getI18n: function() {
+ return _('Avahi IPv4LL');
+ },
+
+ getOpkgPackage: function() {
+ return 'avahi-autoipd';
+ },
+
+ renderFormOptions: function(s) {
+
+ }
+});