1
0
Fork 0
mirror of https://github.com/Ysurac/openmptcprouter-feeds.git synced 2025-02-15 03:51:51 +00:00

Merge pull request #80 from Ysurac/develop

sync
This commit is contained in:
suyuan 2021-03-04 09:54:52 +08:00 committed by GitHub
commit 30f285bbbb
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 2 deletions

View file

@ -272,6 +272,9 @@ function wizard_add()
elseif typeintf == "" and device ~= "" and proto == "modemmanager" then
ucic:set("network",intf,"device",device_manager)
end
if proto == "pppoe" then
ucic:set("network",intf,"pppd_options","persist maxfail 0")
end
if proto ~= "other" then
ucic:set("network",intf,"proto",proto)
end

View file

@ -511,8 +511,8 @@ return view.extend({
var new_ifnames = L.toArray(value);
if (!value)
new_ifnames.length = Math.max(new_ifnames.length, 1);
if (value == undefined)
return;
old_ifnames.sort();
new_ifnames.sort();