Skip to content

Commit

Permalink
Fixing bug on update decision
Browse files Browse the repository at this point in the history
  • Loading branch information
dschanoeh committed Aug 29, 2021
1 parent 1e3e9ae commit 9e7bb25
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions hover-ddns.go
Original file line number Diff line number Diff line change
Expand Up @@ -154,8 +154,8 @@ func run(config *Config, provider publicip.LookupProvider, dryRun *bool, manualV
log.Debug("SessionCookie [" + auth.SessionCookie.Name + "]: " + auth.SessionCookie.Value)
}

if !(publicV4 == nil && publicV6 == nil) {
err := hover.Update(auth, domain.DomainName, hostName, publicV4, publicV6)
if !(v4 == nil && v6 == nil) {
err := hover.Update(auth, domain.DomainName, hostName, v4, v6)
if err != nil {
log.Error("Was not able to update hover records: ", err)
return
Expand Down

0 comments on commit 9e7bb25

Please sign in to comment.