diff --git a/advanced/Scripts/webpage.sh b/advanced/Scripts/webpage.sh index f7598000..e173759b 100755 --- a/advanced/Scripts/webpage.sh +++ b/advanced/Scripts/webpage.sh @@ -237,8 +237,7 @@ trust-anchor=.,20326,8,2,E06D44B80B8F1D39A95C0B0D7C65D08458E880409BBC68345710423 # 1.168.192.in-addr.arpa to 192.168.1.0/24 # 168.192.in-addr.arpa to 192.168.0.0/16 # 192.in-addr.arpa to 192.0.0.0/8 - search="in-addr.arpa" - if [[ "$CONDITIONAL_FORWARDING_REVERSE" == *"$search" ]];then + if [[ "${CONDITIONAL_FORWARDING_REVERSE}" == *"in-addr.arpa" ]];then arrRev=("${CONDITIONAL_FORWARDING_REVERSE//./ }") case ${#arrRev[@]} in 6 ) REV_SERVER_CIDR="${arrRev[3]}.${arrRev[2]}.${arrRev[1]}.${arrRev[0]}/32";;