Skip to content

Commit

Permalink
Merge pull request loxilb-io#414 from TrekkieCoder/main
Browse files Browse the repository at this point in the history
PR - incluster fixes for fullnat
  • Loading branch information
UltraInstinct14 authored Oct 16, 2023
2 parents d7bd299 + 9aeb57b commit 21209fa
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions loxinet/rules.go
Original file line number Diff line number Diff line change
Expand Up @@ -945,6 +945,8 @@ func (R *RuleH) electEPSrc(r *ruleEnt) bool {
sip = r.tuples.l3Dst.addr.IP.Mask(r.tuples.l3Dst.addr.Mask)
if np.xIP.Equal(sip) {
sip = net.IPv4(0, 0, 0, 0)
} else if IsIPHostAddr(np.xIP.String()) {
sip = net.IPv4(0, 0, 0, 0)
}
} else {
vip, err := mh.has.CIVipGet(r.ci)
Expand Down

0 comments on commit 21209fa

Please sign in to comment.