aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2018-02-25 16:17:15 +0000
committerVsevolod Stakhov <vsevolod@highsecure.ru>2018-02-25 16:17:15 +0000
commit36d4a2dd759bd506044fc7bf6dcd35c3d4f7fb4a (patch)
tree01fc9f91c90ee50371592dc50ebb19a1ded364ec /src
parenta56b6040f7ae63f29f963f71d0f03bdb435e71b2 (diff)
downloadrspamd-36d4a2dd759bd506044fc7bf6dcd35c3d4f7fb4a.tar.gz
rspamd-36d4a2dd759bd506044fc7bf6dcd35c3d4f7fb4a.zip
[Fix] Do not stop parsing headers on bad IP header
Diffstat (limited to 'src')
-rw-r--r--src/libserver/protocol.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/libserver/protocol.c b/src/libserver/protocol.c
index 791938401..243e8a40c 100644
--- a/src/libserver/protocol.c
+++ b/src/libserver/protocol.c
@@ -318,7 +318,6 @@ rspamd_protocol_handle_headers (struct rspamd_task *task,
IF_HEADER (IP_ADDR_HEADER) {
if (!rspamd_parse_inet_address (&task->from_addr, hv->str, hv->len)) {
msg_err_task ("bad ip header: '%V'", hv);
- return FALSE;
}
debug_task ("read IP header, value: %V", hv);
has_ip = TRUE;