mirror of
https://github.com/pi-hole/pi-hole.git
synced 2025-01-11 14:34:44 +00:00
Update to use new Var name
This commit is contained in:
parent
f8e9726922
commit
d7d6d6f991
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue