# | Line 210 | Line 210 | void negcache_insert(const char *ipstr) | |
---|---|---|
210 | struct bopm_sockaddr ip; | |
211 | struct cnode *n; | |
212 | ||
213 | < | if (!inet_pton(AF_INET, ipstr, &(ip.sa4.sin_addr))) |
213 | > | if (inet_pton(AF_INET, ipstr, &(ip.sa4.sin_addr)) <= 0) |
214 | { | |
215 | log_printf("NEGCACHE -> Invalid IPv4 address '%s'", ipstr); | |
216 | return; |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |