Skip to content

Commit

Permalink
fix external egress gateway
Browse files Browse the repository at this point in the history
  • Loading branch information
zhangzujian committed Mar 16, 2022
1 parent c3e17d8 commit f320ef8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/daemon/gateway.go
Original file line number Diff line number Diff line change
Expand Up @@ -752,7 +752,7 @@ func (c *Controller) getLocalPodIPsNeedPR(protocol string) (map[policyRouteMeta]
continue
}

if !subnet.Spec.NatOutgoing ||
if subnet.Spec.ExternalEgressGateway == "" ||
subnet.Spec.Vpc != util.DefaultVpc ||
subnet.Spec.GatewayType != kubeovnv1.GWDistributedType {
continue
Expand Down

0 comments on commit f320ef8

Please sign in to comment.