mirror of
https://github.com/gravitl/netmaker.git
synced 2025-09-24 22:15:36 +08:00
skip ext clients on non ingress nodes
This commit is contained in:
parent
7d166ac14a
commit
3f279119c7
1 changed files with 3 additions and 0 deletions
|
@ -242,6 +242,9 @@ func (m *ManagerAction) AddInterfaceToProxy() error {
|
|||
log.Println("Endpoint nil for peer: ", peerI.PublicKey.String())
|
||||
continue
|
||||
}
|
||||
if peerConf.IsExtClient && !common.IsIngressGateway {
|
||||
continue
|
||||
}
|
||||
shouldProceed := false
|
||||
if peerConf.IsExtClient && peerConf.IsAttachedExtClient {
|
||||
// check if ext client got endpoint,otherwise continue
|
||||
|
|
Loading…
Add table
Reference in a new issue