mirror of
https://github.com/pi-hole/pi-hole.git
synced 2025-04-23 15:50:19 +00:00
Working on ipv6 + ipv4
This commit is contained in:
parent
3d7d7b80f0
commit
acfd56a7b9
3 changed files with 13 additions and 4 deletions
|
@ -201,7 +201,7 @@ fi
|
|||
if [[ -n "${IPv6_address}" ]] ; then
|
||||
IPv6_address=$(echo "${IPv6_address}" | cut -f1 -d"/")
|
||||
fi
|
||||
if [[ -n "${IPv6_address}" ]] ; then
|
||||
if [[ -n "${IPv4_address}" ]] ; then
|
||||
IPv4_address=$(echo "${IPv4_address}" | cut -f1 -d"/")
|
||||
fi
|
||||
|
||||
|
|
|
@ -213,7 +213,7 @@ fi
|
|||
if [[ -n "${IPv6_address}" ]] ; then
|
||||
IPv6_address=$(echo "${IPv6_address}" | cut -f1 -d"/")
|
||||
fi
|
||||
if [[ -n "${IPv6_address}" ]] ; then
|
||||
if [[ -n "${IPv4_address}" ]] ; then
|
||||
IPv4_address=$(echo "${IPv4_address}" | cut -f1 -d"/")
|
||||
fi
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue