Skip to content

Commit aab520a

Browse files
authored
Merge pull request #129 from FactorT/fix_vip_address_lookup
[-] fix VIP address lookup in IP address list, fixes #125
2 parents 26d595f + b6ca690 commit aab520a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ipmanager/basicConfigurer.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ func (c *BasicConfigurer) queryAddress() bool {
4141
return false
4242
}
4343
for _, address := range addresses {
44-
if strings.Contains(address.String(), c.VIP.String()) {
44+
if strings.Contains(address.String(), c.getCIDR()) {
4545
return true
4646
}
4747
}

0 commit comments

Comments
 (0)