Skip to content

Commit

Permalink
gh-877 Initial support for egress : patchset3
Browse files Browse the repository at this point in the history
  • Loading branch information
TrekkieCoder committed Dec 26, 2024
1 parent ef4539f commit 1c73fc0
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions pkg/loxinet/cluster.go
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit 1c73fc0

Please sign in to comment.