mirror of
https://github.com/pi-hole/pi-hole.git
synced 2025-02-27 05:28:23 +00:00
Remove CIDR from IPs
This commit is contained in:
parent
b2134b8fde
commit
3d7d7b80f0
1 changed files with 1 additions and 0 deletions
|
@ -197,6 +197,7 @@ else
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
#remove CIDR from IPs
|
||||||
if [[ -n "${IPv6_address}" ]] ; then
|
if [[ -n "${IPv6_address}" ]] ; then
|
||||||
IPv6_address=$(echo "${IPv6_address}" | cut -f1 -d"/")
|
IPv6_address=$(echo "${IPv6_address}" | cut -f1 -d"/")
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Add table
Reference in a new issue