mirror of
https://github.com/pi-hole/pi-hole.git
synced 2024-12-24 13:50:17 +00:00
Appease stickler
Signed-off-by: Adam Warner <me@adamwarner.co.uk>
This commit is contained in:
parent
06c5fe2a89
commit
4093959d3e
1 changed files with 1 additions and 1 deletions
|
@ -239,7 +239,7 @@ trust-anchor=.,20326,8,2,E06D44B80B8F1D39A95C0B0D7C65D08458E880409BBC68345710423
|
|||
# 192.in-addr.arpa to 192.0.0.0/8
|
||||
search="in-addr.arpa"
|
||||
if [[ "$CONDITIONAL_FORWARDING_REVERSE" == *"$search" ]];then
|
||||
arrRev=(${CONDITIONAL_FORWARDING_REVERSE//./ })
|
||||
arrRev=("${CONDITIONAL_FORWARDING_REVERSE//./ }")
|
||||
case ${#arrRev[@]} in
|
||||
6 ) REV_SERVER_CIDR="${arrRev[3]}.${arrRev[2]}.${arrRev[1]}.${arrRev[0]}/32";;
|
||||
5 ) REV_SERVER_CIDR="${arrRev[2]}.${arrRev[1]}.${arrRev[0]}.0/24";;
|
||||
|
|
Loading…
Reference in a new issue