diff options
author | DL6ER <dl6er@dl6er.de> | 2018-11-08 22:29:07 +0300 |
---|---|---|
committer | DL6ER <dl6er@dl6er.de> | 2018-11-08 22:29:07 +0300 |
commit | e1c3c53058eeb58a3607317dded1baa6a5cbff38 (patch) | |
tree | fa1b7e14b9b1f73f93d8d4ad470cdc7e9a35a8e7 /automated install/basic-install.sh | |
parent | 33156071cd189c26a12ef9253f84118b02e0939b (diff) | |
parent | 9fa497b056cd9dcdcc9837f54017c477f44e0455 (diff) |
Merge branch 'release/v4.1' into fix/adlists.list_not_created
Diffstat (limited to 'automated install/basic-install.sh')
-rwxr-xr-x | automated install/basic-install.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/automated install/basic-install.sh b/automated install/basic-install.sh index c8a29a09..c49edda8 100755 --- a/automated install/basic-install.sh +++ b/automated install/basic-install.sh @@ -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 |