Browse Source

update legacy back to isStatic

Max Ma 1 year ago
parent
commit
f10bce783b
1 changed files with 1 additions and 1 deletions
  1. 1 1
      models/node.go

+ 1 - 1
models/node.go

@@ -569,7 +569,7 @@ func (n *Node) Legacy(h *Host, s *ServerConfig, net *Network) *LegacyNode {
 	//l.FailoverNode = n.FailoverNode
 	//l.IngressGatewayRange = n.IngressGatewayRange
 	//l.IngressGatewayRange6 = n.IngressGatewayRange6
-	l.IsStatic = formatBool(h.IsStaticPort)
+	l.IsStatic = formatBool(h.IsStatic)
 	l.UDPHolePunch = formatBool(true)
 	l.DNSOn = formatBool(n.DNSOn)
 	l.Action = n.Action