Fix ipv6 stuffs 2

This commit is contained in:
Ben Sarmiento
2024-01-11 02:41:50 +01:00
parent b526da1b4f
commit 8378422b3a
2 changed files with 4 additions and 2 deletions

View File

@@ -56,7 +56,7 @@ func MainApp(configPath string) {
if config.ShouldForceIPv6() {
ipv6List, err = hosts.FetchHosts(hosts.IPV6)
if err != nil {
panic(err)
zurglog.Warnf("Failed to fetch IPv6 hosts: %v", err)
}
}
downloadClient := http.NewHTTPClient(config.GetToken(), config.GetRetriesUntilFailed(), 0, ipv6List, config, log.Named("dlclient"))