Skip to content

Commit

Permalink
fix: the wrong print message for config protocol (#39)
Browse files Browse the repository at this point in the history
  • Loading branch information
jacknbeans authored Apr 10, 2021
1 parent 32c14eb commit 919de45
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions root/etc/cont-init.d/70-vpn-setup
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,8 @@ case ${PROTONVPN_TIER} in
esac

case ${PROTONVPN_PROTOCOL} in
tcp | TCP) echo "[VPN-Config-Setup] UDP";CFG_PROTO="tcp";;
udp | UDP) echo "[VPN-Config-Setup] TCP";CFG_PROTO="udp";;
tcp | TCP) echo "[VPN-Config-Setup] TCP";CFG_PROTO="tcp";;
udp | UDP) echo "[VPN-Config-Setup] UDP";CFG_PROTO="udp";;
*) echo "[VPN-Config-Setup] Invalid Proto ${PROTONVPN_PROTOCOL}, Falling back to UDP";
CFG_PROTO="udp";;
esac
Expand Down

0 comments on commit 919de45

Please sign in to comment.