We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2c43248 commit 8674f98Copy full SHA for 8674f98
bin/ovpn_genconfig
@@ -350,7 +350,7 @@ fi
350
[ -n "$OVPN_CIPHER" ] && echo "cipher $OVPN_CIPHER" >> "$conf"
351
[ -n "$OVPN_AUTH" ] && echo "auth $OVPN_AUTH" >> "$conf"
352
353
-[ -n "${OVPN_CLIENT_TO_CLIENT:-}" ] && echo "client-to-client" >> "$conf"
+[ "$OVPN_CLIENT_TO_CLIENT" == "1" ] && echo "client-to-client" >>"$conf"
354
[ "$OVPN_COMP_LZO" == "1" ] && echo "comp-lzo" >> "$conf"
355
[ "$OVPN_COMP_LZO" == "0" ] && echo "comp-lzo no" >> "$conf"
356
0 commit comments