Merge pull request #383 from DZamataev/master
[bug fix] removes pushing 'comp-lzo' when it is enabled to avoid issues on Android
This commit is contained in:
commit
73f8b02172
@ -352,6 +352,7 @@ fi
|
||||
|
||||
[ -n "${OVPN_CLIENT_TO_CLIENT:-}" ] && echo "client-to-client" >> "$conf"
|
||||
[ "$OVPN_COMP_LZO" == "1" ] && echo "comp-lzo" >> "$conf"
|
||||
[ "$OVPN_COMP_LZO" == "0" ] && echo "comp-lzo no" >> "$conf"
|
||||
|
||||
[ -n "${OVPN_FRAGMENT:-}" ] && echo "fragment $OVPN_FRAGMENT" >> "$conf"
|
||||
|
||||
@ -371,8 +372,6 @@ done
|
||||
|
||||
if [ "$OVPN_COMP_LZO" == "0" ]; then
|
||||
process_push_config "comp-lzo no"
|
||||
else
|
||||
process_push_config "comp-lzo"
|
||||
fi
|
||||
|
||||
[ ${#OVPN_PUSH[@]} -gt 0 ] && for i in "${OVPN_PUSH[@]}"; do
|
||||
|
Loading…
Reference in New Issue
Block a user