diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2019-03-04 14:15:24 +0000 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2019-03-04 14:15:24 +0000 |
commit | 5836e02b95696a39fc643e9c62ebd9c507634242 (patch) | |
tree | 1c0ad2422ea1bc87e3a70fc7a5f50ccf82059738 /src/libmime | |
parent | bcf9f0c5710a010783edef75742beef1192c89fb (diff) | |
download | rspamd-5836e02b95696a39fc643e9c62ebd9c507634242.tar.gz rspamd-5836e02b95696a39fc643e9c62ebd9c507634242.zip |
[Project] Allow to hash and compare inet addresses considering port
Diffstat (limited to 'src/libmime')
-rw-r--r-- | src/libmime/message.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libmime/message.c b/src/libmime/message.c index da065195d..cca134f81 100644 --- a/src/libmime/message.c +++ b/src/libmime/message.c @@ -1150,7 +1150,7 @@ rspamd_message_parse (struct rspamd_task *task) need_recv_correction = TRUE; } else { - if (rspamd_inet_address_compare (raddr, task->from_addr) != 0) { + if (rspamd_inet_address_compare (raddr, task->from_addr, FALSE) != 0) { need_recv_correction = TRUE; } } |