Skip to content

Commit

Permalink
Merge pull request #911 from TrekkieCoder/main
Browse files Browse the repository at this point in the history
 gh-877 Initial support for egress : patchset3
  • Loading branch information
UltraInstinct14 authored Dec 26, 2024
2 parents ef4539f + 1c73fc0 commit b361ef1
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 b361ef1

Please sign in to comment.