Make IP Static for Public IPs (#5788)

* don't use endpoint predictor
* Merge branch 'master' into staticIP
* Merge refs/heads/master into staticIP
This commit is contained in:
Nishant Das 2020-05-09 08:58:11 +08:00 committed by GitHub
parent c590029e48
commit 5b134239e3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -64,6 +64,7 @@ func (s *Service) createListener(
log.Errorf("Invalid host address given: %s", hostIP.String())
} else {
localNode.SetFallbackIP(hostIP)
localNode.SetStaticIP(hostIP)
}
}
dv5Cfg := discover.Config{