瀏覽代碼

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 {