mirror of
https://github.com/gravitl/netmaker.git
synced 2025-09-06 05:04:27 +08:00
Merge pull request #2939 from gravitl/NET-1253
NET-1253: Fix Overwriting of IPv6 endpoint
This commit is contained in:
commit
8048565664
1 changed files with 0 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue