Pārlūkot izejas kodu

fix overwriting of ipv6 endpoint

abhishek9686 1 gadu atpakaļ
vecāks
revīzija
86a0db981e
1 mainītis faili ar 0 papildinājumiem un 1 dzēšanām
  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