mirror of
https://github.com/gravitl/netmaker.git
synced 2025-10-06 17:29:15 +08:00
add MTU to ifacedelta
This commit is contained in:
@@ -58,6 +58,7 @@ func IfaceDelta(currentNode *models.Node, newNode *models.Node) bool {
|
|||||||
newNode.IsRelay != currentNode.IsRelay ||
|
newNode.IsRelay != currentNode.IsRelay ||
|
||||||
newNode.UDPHolePunch != currentNode.UDPHolePunch ||
|
newNode.UDPHolePunch != currentNode.UDPHolePunch ||
|
||||||
newNode.IsPending != currentNode.IsPending ||
|
newNode.IsPending != currentNode.IsPending ||
|
||||||
|
newNode.MTU != currentNode.MTU ||
|
||||||
newNode.PersistentKeepalive != currentNode.PersistentKeepalive ||
|
newNode.PersistentKeepalive != currentNode.PersistentKeepalive ||
|
||||||
newNode.DNSOn != currentNode.DNSOn ||
|
newNode.DNSOn != currentNode.DNSOn ||
|
||||||
len(newNode.ExcludedAddrs) != len(currentNode.ExcludedAddrs) ||
|
len(newNode.ExcludedAddrs) != len(currentNode.ExcludedAddrs) ||
|
||||||
|
@@ -17,6 +17,7 @@ func IfaceDelta(currentNode *models.Node, newNode *models.Node) bool {
|
|||||||
newNode.IsIngressGateway != currentNode.IsIngressGateway ||
|
newNode.IsIngressGateway != currentNode.IsIngressGateway ||
|
||||||
newNode.IsRelay != currentNode.IsRelay ||
|
newNode.IsRelay != currentNode.IsRelay ||
|
||||||
newNode.UDPHolePunch != currentNode.UDPHolePunch ||
|
newNode.UDPHolePunch != currentNode.UDPHolePunch ||
|
||||||
|
newNode.MTU != currentNode.MTU ||
|
||||||
newNode.IsPending != currentNode.IsPending ||
|
newNode.IsPending != currentNode.IsPending ||
|
||||||
newNode.PersistentKeepalive != currentNode.PersistentKeepalive ||
|
newNode.PersistentKeepalive != currentNode.PersistentKeepalive ||
|
||||||
newNode.DNSOn != currentNode.DNSOn ||
|
newNode.DNSOn != currentNode.DNSOn ||
|
||||||
|
Reference in New Issue
Block a user