diff --git a/pkg/vpcmodel/nodesExplainability.go b/pkg/vpcmodel/nodesExplainability.go index e088cfea4..e07ce40b9 100644 --- a/pkg/vpcmodel/nodesExplainability.go +++ b/pkg/vpcmodel/nodesExplainability.go @@ -172,6 +172,13 @@ func (c *VPCConfig) computeRouterAndActualRules(potentialRules *rulesAndConnDeta var filtersForExternal map[string]bool if routingResource != nil { filtersForExternal = routingResource.AppliedFiltersKinds() // relevant filtersExternal + var routingResource RoutingResource + var filtersForExternal map[string]bool + if err1 == nil && err2 == nil { + routingResource, _ = c.getRoutingResource(containingSrcNode, containingDstNode) + if routingResource != nil { + filtersForExternal = routingResource.AppliedFiltersKinds() // relevant filtersExternal + } } potential.router = routingResource potential.filtersExternal = filtersForExternal