Skip to content
This repository has been archived by the owner on Oct 6, 2024. It is now read-only.

Commit

Permalink
fix: web detection uses wrong url for v6
Browse files Browse the repository at this point in the history
  • Loading branch information
Simon Lorenz committed Apr 29, 2023
1 parent 9ab281a commit c763dfb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion detection/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit c763dfb

Please # to comment.