Skip to content

Commit 73f8b02

Browse files
authored
Merge pull request #383 from DZamataev/master
[bug fix] removes pushing 'comp-lzo' when it is enabled to avoid issues on Android
2 parents 2b8a82a + 49d36c2 commit 73f8b02

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

bin/ovpn_genconfig

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -352,6 +352,7 @@ fi
352352

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

356357
[ -n "${OVPN_FRAGMENT:-}" ] && echo "fragment $OVPN_FRAGMENT" >> "$conf"
357358

@@ -371,8 +372,6 @@ done
371372

372373
if [ "$OVPN_COMP_LZO" == "0" ]; then
373374
process_push_config "comp-lzo no"
374-
else
375-
process_push_config "comp-lzo"
376375
fi
377376

378377
[ ${#OVPN_PUSH[@]} -gt 0 ] && for i in "${OVPN_PUSH[@]}"; do

0 commit comments

Comments
 (0)