diff --git a/pkg/loxinet/cluster.go b/pkg/loxinet/cluster.go index 40b72c7b..a0d3bfcb 100644 --- a/pkg/loxinet/cluster.go +++ b/pkg/loxinet/cluster.go @@ -357,6 +357,11 @@ func (ci *CIStateH) CIDestroy() { // CIAddClusterRoute - routine to add a cluster route func (h *CIStateH) CIAddClusterRoute(dest string, add bool) { + if tk.IsNetIPv4(dest) && dest != mh.has.ClusterGw || + tk.IsNetIPv6(dest) && dest != mh.has.ClusterGw6 { + return + } + if add { found := false if tk.IsNetIPv4(dest) {