diff --git a/loxinet/rules.go b/loxinet/rules.go index c89d05b70..0d6d01dda 100644 --- a/loxinet/rules.go +++ b/loxinet/rules.go @@ -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)