Skip to content

Commit

Permalink
fix: be more clear about client-to-client option
Browse files Browse the repository at this point in the history
  • Loading branch information
BirdDev committed Nov 22, 2022
1 parent 2c43248 commit 8674f98
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/ovpn_genconfig
Original file line number Diff line number Diff line change
Expand Up @@ -350,7 +350,7 @@ fi
[ -n "$OVPN_CIPHER" ] && echo "cipher $OVPN_CIPHER" >> "$conf"
[ -n "$OVPN_AUTH" ] && echo "auth $OVPN_AUTH" >> "$conf"

[ -n "${OVPN_CLIENT_TO_CLIENT:-}" ] && echo "client-to-client" >> "$conf"
[ "$OVPN_CLIENT_TO_CLIENT" == "1" ] && echo "client-to-client" >>"$conf"
[ "$OVPN_COMP_LZO" == "1" ] && echo "comp-lzo" >> "$conf"
[ "$OVPN_COMP_LZO" == "0" ] && echo "comp-lzo no" >> "$conf"

Expand Down

0 comments on commit 8674f98

Please sign in to comment.