mirror of
https://github.com/pi-hole/pi-hole.git
synced 2024-12-03 19:43:17 +00:00
use standard bash to remove CIDR
This commit is contained in:
parent
f1b8095f18
commit
92249365b4
1 changed files with 1 additions and 1 deletions
|
@ -28,7 +28,7 @@ gravityraw="/etc/pihole/list.preEventHorizon"
|
|||
gravity="/etc/pihole/gravity.list"
|
||||
|
||||
today=$(date "+%b %e")
|
||||
IPv4_address=$(echo "${IPv4_address}" | cut -d"/" -f1)
|
||||
IPv4_address=${IPv4_address%/*}
|
||||
|
||||
CalcPercentBlockedToday() {
|
||||
if [ "${queriesToday}" != "Err." ] && [ "${blockedToday}" != "Err." ]; then
|
||||
|
|
Loading…
Reference in a new issue