From c763dfbd91cc9eb2c15f20b8ebca930167e53799 Mon Sep 17 00:00:00 2001 From: Simon Lorenz Date: Sat, 29 Apr 2023 21:28:49 +0200 Subject: [PATCH] fix: web detection uses wrong url for v6 --- detection/main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/detection/main.go b/detection/main.go index 382787f..a90a047 100644 --- a/detection/main.go +++ b/detection/main.go @@ -40,7 +40,7 @@ func RefreshIPv6() (bool, error) { var UpstreamIPv6 string = "" if config.Detection.V6.Web != "" { - UpstreamIPv6 = getIpAddressFromExternalService(config.Detection.V4.Web) + UpstreamIPv6 = getIpAddressFromExternalService(config.Detection.V6.Web) } else if config.Detection.V6.Cmd != "" { UpstreamIPv6 = getIpAddressFromCmd(config.Detection.V6.Cmd) } else {