Skip to content

Commit

Permalink
Fix typo in luci-app-openmptcprouter
Browse files Browse the repository at this point in the history
  • Loading branch information
Ysurac committed Jan 10, 2025
1 parent 8b4fdc3 commit a40762f
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -834,7 +834,7 @@ function wizard_add()
local sectionname = s[".name"]
if sectionname:match("^omr.*") then
luci.sys.call("uci -q del openvpn." .. sectionname .. ".remote")
luci.sys.call("uci -q add_list openvpn." .. sectioname .. ".remote=" .. server_ip)
luci.sys.call("uci -q add_list openvpn." .. sectionname .. ".remote=" .. server_ip)
end
end)
--luci.sys.call("uci -q del openvpn.omr.remote")
Expand Down Expand Up @@ -1267,7 +1267,7 @@ function wizard_add()
local sectionname = s[".name"]
if sectionname:match("^omr.*") then
ucic:set("openvpn",sectionname,"enabled",0)
ucic:set("network",sectioname,"proto","none")
ucic:set("network",sectionname,"proto","none")
end
end)
ucic:set("openvpn","omr","enabled",1)
Expand All @@ -1276,7 +1276,7 @@ function wizard_add()
local sectionname = s[".name"]
if sectionname:match("^omr.*") then
ucic:set("openvpn",sectionname,"enabled",1)
ucic:set("network",sectioname,"proto","none")
ucic:set("network",sectionname,"proto","none")
end
end)
--ucic:set("openvpn","omr","enabled",1)
Expand Down

0 comments on commit a40762f

Please sign in to comment.