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

Merge pull request #2939 from gravitl/NET-1253

NET-1253: Fix Overwriting of IPv6 endpoint
Abhishek K преди 1 година
родител
ревизия
8048565664
променени са 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