ソースを参照

update interface from client update

Abhishek Kondur 1 年間 前
コミット
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 {