diff options
Diffstat (limited to 'src/libserver/protocol.c')
-rw-r--r-- | src/libserver/protocol.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libserver/protocol.c b/src/libserver/protocol.c index ba2599f5f..b721c3d62 100644 --- a/src/libserver/protocol.c +++ b/src/libserver/protocol.c @@ -389,7 +389,7 @@ rspamd_protocol_handle_headers (struct rspamd_task *task, case 'i': case 'I': if (g_ascii_strncasecmp (headern, IP_ADDR_HEADER, hlen) == 0) { - if (!rspamd_parse_inet_address (&task->from_addr, hv->str)) { + if (!rspamd_parse_inet_address (&task->from_addr, hv->str, 0)) { msg_err_task ("bad ip header: '%V'", hv); return FALSE; } |