mirror of
https://github.com/pi-hole/pi-hole
synced 2025-02-22 04:52:01 +00:00
Update to use new Var name
This commit is contained in:
parent
f8e9726922
commit
d7d6d6f991
@ -22,7 +22,7 @@ today=$(date "+%b %e")
|
||||
CalcBlockedDomains() {
|
||||
if [ -e "${gravity}" ]; then
|
||||
#Are we IPV6 or IPV4?
|
||||
if [[ -n "${IPv6_address}" ]]; then
|
||||
if [[ -n "${IPV6_ADDRESS}" ]]; then
|
||||
#We are IPV6
|
||||
blockedDomainsTotal=$(wc -l /etc/pihole/gravity.list | awk '{print $1/2}')
|
||||
else
|
||||
|
Loading…
Reference in New Issue
Block a user