diff options
Diffstat (limited to 'src/client/rspamc.c')
-rw-r--r-- | src/client/rspamc.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/client/rspamc.c b/src/client/rspamc.c index 3f637cda0..075f0a487 100644 --- a/src/client/rspamc.c +++ b/src/client/rspamc.c @@ -564,7 +564,8 @@ add_options (GQueue *opts) if (ip != NULL) { rspamd_inet_addr_t *addr = NULL; - if (!rspamd_parse_inet_address (&addr, ip, strlen (ip))) { + if (!rspamd_parse_inet_address (&addr, ip, strlen (ip), + RSPAMD_INET_ADDRESS_PARSE_DEFAULT)) { /* Try to resolve */ struct addrinfo hints, *res, *cur; gint r; |