From d5be1018695d5f0741ce8db5a8fa2c1e192f26dd Mon Sep 17 00:00:00 2001 From: Promofaux Date: Wed, 6 Apr 2016 22:03:35 +0100 Subject: [PATCH] Hardcode: IPv4 = '0.0.0.0', IPv6='::' --- gravity.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gravity.sh b/gravity.sh index d77d75cf..51324c10 100755 --- a/gravity.sh +++ b/gravity.sh @@ -47,7 +47,7 @@ fi if [[ -f $piholeIPv6file ]];then # If the file exists, then the user previously chose to use IPv6 in the automated installer - piholeIPv6=$(ip -6 route get 2001:4860:4860::8888 | awk -F " " '{ for(i=1;i<=NF;i++) if ($i == "src") print $(i+1) }') + piholeIPv6="::" fi # Variables for various stages of downloading and formatting the list