Parcourir la source

Merge pull request #2939 from gravitl/NET-1253

NET-1253: Fix Overwriting of IPv6 endpoint
Abhishek K il y a 1 an
Parent
commit
8048565664
1 fichiers modifiés avec 0 ajouts et 1 suppressions
  1. 0 1
      logic/hosts.go

+ 0 - 1
logic/hosts.go

@@ -217,7 +217,6 @@ func UpdateHost(newHost, currentHost *models.Host) {
 	newHost.Nodes = currentHost.Nodes
 	newHost.PublicKey = currentHost.PublicKey
 	newHost.TrafficKeyPublic = currentHost.TrafficKeyPublic
-	newHost.EndpointIPv6 = currentHost.EndpointIPv6
 	// changeable fields
 	if len(newHost.Version) == 0 {
 		newHost.Version = currentHost.Version