mirror of
https://github.com/pi-hole/pi-hole.git
synced 2024-11-15 02:42:58 +00:00
Merge branch 'release/v4.1' into fix/adlists.list_not_created
This commit is contained in:
commit
e1c3c53058
1 changed files with 1 additions and 1 deletions
|
@ -617,7 +617,7 @@ chooseInterface() {
|
|||
# See https://github.com/pi-hole/pi-hole/issues/1473#issuecomment-301745953
|
||||
testIPv6() {
|
||||
# first will contain fda2 (ULA)
|
||||
printf -v first "%d" "${1%%:*}"
|
||||
printf -v first "%s" "${1%%:*}"
|
||||
# value1 will contain 253 which is the decimal value corresponding to 0xfd
|
||||
value1=$(( (0x$first)/256 ))
|
||||
# will contain 162 which is the decimal value corresponding to 0xa2
|
||||
|
|
Loading…
Reference in a new issue