Skip to content

Commit

Permalink
comment egressWG and ingressGW check in IfaceDelta
Browse files Browse the repository at this point in the history
  • Loading branch information
yabinma committed Jun 7, 2024
1 parent e2eb48a commit 9f76f84
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions wireguard/iface.go
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,8 @@ func IfaceDelta(currentNode *config.Node, newNode *config.Node) bool {
// newNode.PublicKey != currentNode.PublicKey ||
if newNode.Address.IP.String() != currentNode.Address.IP.String() ||
newNode.Address6.IP.String() != currentNode.Address6.IP.String() ||
newNode.IsEgressGateway != currentNode.IsEgressGateway ||
newNode.IsIngressGateway != currentNode.IsIngressGateway ||
// newNode.IsEgressGateway != currentNode.IsEgressGateway ||
// newNode.IsIngressGateway != currentNode.IsIngressGateway ||
// newNode.IsRelay != currentNode.IsRelay ||
// newNode.UDPHolePunch != currentNode.UDPHolePunch ||
// newNode.ListenPort != currentNode.ListenPort ||
Expand Down

0 comments on commit 9f76f84

Please sign in to comment.