Преглед на файлове

fix overwriting of ipv6 endpoint

abhishek9686 преди 1 година
родител
ревизия
86a0db981e
променени са 1 файла, в които са добавени 0 реда и са изтрити 1 реда
  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