Skip to content

Commit 5138981

Browse files
authored
Merge pull request #380 from DZamataev/master
[bug fix] pushing comp-lzo setting to avoid error
2 parents 23120e4 + f75f2e1 commit 5138981

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

bin/ovpn_genconfig

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -369,6 +369,12 @@ fi
369369
process_push_config "dhcp-option DNS $i"
370370
done
371371

372+
if [ "$OVPN_COMP_LZO" == "0"]; then
373+
process_push_config "comp-lzo no"
374+
else
375+
process_push_config "comp-lzo"
376+
fi
377+
372378
[ ${#OVPN_PUSH[@]} -gt 0 ] && for i in "${OVPN_PUSH[@]}"; do
373379
process_push_config "$i"
374380
done

0 commit comments

Comments
 (0)