Merge pull request #380 from DZamataev/master

[bug fix] pushing comp-lzo setting to avoid error
This commit is contained in:
Kyle Manna 2018-04-28 12:21:13 -07:00 committed by GitHub
commit 5138981623
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -369,6 +369,12 @@ fi
process_push_config "dhcp-option DNS $i" process_push_config "dhcp-option DNS $i"
done 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 [ ${#OVPN_PUSH[@]} -gt 0 ] && for i in "${OVPN_PUSH[@]}"; do
process_push_config "$i" process_push_config "$i"
done done