Re: spamd-setup bug parsing non-CIDR IPs
Ignore this diff for now, it is not correct. - todd
spamd-setup bug parsing non-CIDR IPs
Both single IP addresses and ranges suffer from an off-by one error. The range is inclusive so the end address should not be incremented by one. Compare how 212.174.194.30/32 is parsed vs. 212.174.194.30 or 212.174.194.30-212.174.194.30. In cidr2range() we have: *start = cidr.addr;