Skip to content

Commit

Permalink
Hotfix empty ipv4 address
Browse files Browse the repository at this point in the history
  • Loading branch information
Hentra committed Mar 26, 2022
1 parent 4e79507 commit a8dd152
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
config.yml
dyndns-netcup-go
main
dist/
2 changes: 1 addition & 1 deletion internal/dns_configurator.go
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ func (dnsc *DNSConfiguratorService) Configure() {
dnsc.logger.Error(err)
}

dnsc.configureDomains(ipAddresses.IPv6, ipAddresses.IPv6)
dnsc.configureDomains(ipAddresses.IPv4, ipAddresses.IPv6)

if dnsc.config.CacheEnabled() {
err := dnsc.cache.Store()
Expand Down

0 comments on commit a8dd152

Please sign in to comment.