luci-app-yggdrasil: fix listen uri type and remove tap for v3.13

Signed-off-by: William Fleurant <meshnet@protonmail.com>
This commit is contained in:
William Fleurant 2020-02-21 00:53:29 -05:00
parent 756c894d70
commit 4efe965cd8

View 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;