diff --git a/openmptcprouter/files/etc/uci-defaults/2020-omr-vpn b/openmptcprouter/files/etc/uci-defaults/2020-omr-vpn index bb4dbf559..d1f5d8b86 100755 --- a/openmptcprouter/files/etc/uci-defaults/2020-omr-vpn +++ b/openmptcprouter/files/etc/uci-defaults/2020-omr-vpn @@ -137,7 +137,7 @@ if [ "$(uci -q get glorytun-udp.vpn.key)" = "" ] && [ "$(uci -q get glorytun.vpn set glorytun-udp.vpn.key=$(uci -q get glorytun.vpn.key) set glorytun-udp.vpn.host=$(uci -q get glorytun.vpn.host) EOF - if [ "$(uci -q get glorytun-udp.vpn.proto)" = "udp" ]; then + if [ "$(uci -q get glorytun.vpn.proto)" = "udp" ]; then uci -q batch <<-EOF >/dev/null set glorytun-udp.vpn.enable=1 set glorytun.vpn.enable=0