luci-app-yggdrasil: fix listen uri type and remove tap for v3.13 3659/head
authorWilliam Fleurant <meshnet@protonmail.com>
Fri, 21 Feb 2020 05:53:29 +0000 (00:53 -0500)
committerWilliam Fleurant <meshnet@protonmail.com>
Fri, 21 Feb 2020 05:53:29 +0000 (00:53 -0500)
Signed-off-by: William Fleurant <meshnet@protonmail.com>
applications/luci-app-yggdrasil/htdocs/luci-static/resources/view/yggdrasil/settings.js

index b72c2fac2d0144d272d8bfa0d17ee8001f21ba17..52d79a47ea64909f71635161a53aa20ce8a36754 100644 (file)
@@ -33,7 +33,6 @@ return L.view.extend({
                        try { JSON.parse(v); return true; } catch (e) { return e.message; }
                }
 
-               s.option(form.Flag, "IfTAPMode", _("Enable tap mode"));
                s.option(form.Value, "IfMTU", _("MTU size for the interface"));
                s.option(form.Value, "SwitchOptions_MaxTotalQueueSize", 
                        _("Maximum size of all switch queues combined"));
@@ -53,8 +52,8 @@ return L.view.extend({
                                "Multicast peer discovery will work regardless of any listeners set " +
                                "here. Each listener should be specified in URI format as above, e.g. " +
                                "tcp://0.0.0.0:0 or tcp://[::]:0 to listen on all interfaces."));
-               o.option(form.Value, "address", 
                        _("Address to listen for incoming connections"), 
+               o.option(form.Value, "uri",
                        _("e.g. tcp://0.0.0.0:0 or tcp://[::]:0"));
                o.anonymous = true;
                o.addremove = true;