Merge pull request #187 from openziti/issue-184-all-intercepts-mapped

Issue 184 all intercepts mapped
This commit is contained in:
dovholuknf
2020-11-02 07:47:30 -05:00
committed by GitHub
2 changed files with 32 additions and 2 deletions
+27 -1
View File
@@ -1,3 +1,29 @@
# Release 1.3.3
## What's New
* nothing
## Bug Fixes
* [#186](https://github.com/openziti/desktop-edge-win/issues/186) - All intercepts marked as already mapped
# Release 1.3.2
## What's New
* [#184](https://github.com/openziti/desktop-edge-win/issues/184) - Better logging. ziti-monitor logging can now be configured via file.
## Bug Fixes
* [#184](https://github.com/openziti/desktop-edge-win/issues/184) - Auto update no longer tries to update when the versions are the same
# Release 1.3.1
* What's New
* This release exists only for testing the auto-upgrade capability
# Release 1.3.0
* What's New
@@ -6,7 +32,7 @@
* Bug Fixes
* [#000](https://github.com/openziti/desktop-edge-win/issues/000) - Bug fix
* none
* Dependency Updates
+5 -1
View File
@@ -94,7 +94,11 @@ func (dns *dnsImpl) RegisterService(svcId string, dnsNameToReg string, port uint
//name and register it in dns, obtain an ip and all that...
ip := net.ParseIP(dnsNameToReg)
icept := intercept{isIp: false, port: port}
icept := intercept{isIp: false, host:dnsNameToReg, port: port}
if ip != nil {
icept.host = ip.String()
icept.isIp = true
}
key := icept.String()
log.Infof("adding DNS for %s. service name %s@%s. is ip: %t", dnsNameToReg, svcName, key, icept.isIp)