2
0
Эх сурвалжийг харах

update interface from client update

Abhishek Kondur 1 жил өмнө
parent
commit
b3b2608ad9
1 өөрчлөгдсөн 1 нэмэгдсэн , 0 устгасан
  1. 1 0
      logic/hosts.go

+ 1 - 0
logic/hosts.go

@@ -245,6 +245,7 @@ func UpdateHostFromClient(newHost, currHost *models.Host) (sendPeerUpdate bool)
 	currHost.Verbosity = newHost.Verbosity
 	currHost.Version = newHost.Version
 	currHost.IsStatic = newHost.IsStatic
+	currHost.Interface = newHost.Interface
 	currHost.MTU = newHost.MTU
 	currHost.Name = newHost.Name
 	if len(newHost.NatType) > 0 && newHost.NatType != currHost.NatType {