Merge pull request #3659 from wfleurant/yggdrasil-3-13

luci-app-yggdrasil: fix listen uri type and remove tap for v3.13
This commit is contained in:
Jo-Philipp Wich 2020-02-21 09:03:01 +01:00 committed by GitHub
commit 1fbe679aaa
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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;