Signed-off-by

This is my commit message

Signed-off-by: Gusher123 <t.siebeling@gmail.com>
This commit is contained in:
Gusher123 2018-08-12 10:05:58 +02:00 committed by GitHub
parent f3aee056ad
commit 2feb5f22cc
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -243,7 +243,7 @@ gravity_DownloadBlocklistFromUrl() {
fi;;
esac
if [[ "${blocked}" = true ]]; then
if [[ "${blocked}" == true ]]; then
ip=$(dig "@${CONDITIONAL_FORWARDING_IP}" +short "${domain}")
if [[ $(echo "${url}" | awk -F '://' '{print $1}') = "https" ]]; then
port=443;