Skip to content

Commit

Permalink
Merge pull request #129 from FactorT/fix_vip_address_lookup
Browse files Browse the repository at this point in the history
[-] fix VIP address lookup in IP address list, fixes #125
  • Loading branch information
pashagolub authored Jan 17, 2023
2 parents 26d595f + b6ca690 commit aab520a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ipmanager/basicConfigurer.go
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ func (c *BasicConfigurer) queryAddress() bool {
return false
}
for _, address := range addresses {
if strings.Contains(address.String(), c.VIP.String()) {
if strings.Contains(address.String(), c.getCIDR()) {
return true
}
}
Expand Down

0 comments on commit aab520a

Please sign in to comment.