mirror of
https://github.com/gravitl/netmaker.git
synced 2024-11-11 10:10:46 +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())
|
log.Println("Endpoint nil for peer: ", peerI.PublicKey.String())
|
||||||
continue
|
continue
|
||||||
}
|
}
|
||||||
|
if peerConf.IsExtClient && !common.IsIngressGateway {
|
||||||
|
continue
|
||||||
|
}
|
||||||
shouldProceed := false
|
shouldProceed := false
|
||||||
if peerConf.IsExtClient && peerConf.IsAttachedExtClient {
|
if peerConf.IsExtClient && peerConf.IsAttachedExtClient {
|
||||||
// check if ext client got endpoint,otherwise continue
|
// check if ext client got endpoint,otherwise continue
|
||||||
|
|
Loading…
Reference in a new issue