From 41acd6fba9207c5cd85de7d502f047020a5de8aa Mon Sep 17 00:00:00 2001 From: "Ycarus (Yannick Chabanois)" Date: Mon, 9 Mar 2020 13:03:33 +0100 Subject: [PATCH] Fix for current VPN --- .../luasrc/view/openmptcprouter/wizard.htm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/luci-app-openmptcprouter/luasrc/view/openmptcprouter/wizard.htm b/luci-app-openmptcprouter/luasrc/view/openmptcprouter/wizard.htm index 3c2393a61..49870ca19 100644 --- a/luci-app-openmptcprouter/luasrc/view/openmptcprouter/wizard.htm +++ b/luci-app-openmptcprouter/luasrc/view/openmptcprouter/wizard.htm @@ -247,10 +247,10 @@ end available_vpns = {available_vpns} end for _, vpn in pairs(available_vpns) do - if vpn == "glorytun-tcp" then + if vpn == "glorytun_tcp" then %> <% if nixio.fs.access("/usr/sbin/glorytun") then %><% end %> - <% elseif vpn == "glorytun-udp" then %> + <% elseif vpn == "glorytun_udp" then %> <% if nixio.fs.access("/usr/sbin/glorytun-udp") then %><% end %> <% elseif vpn == "dsvpn" then %> <% if nixio.fs.access("/usr/sbin/dsvpn") then %><% end %>