diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2015-12-14 17:18:30 +0000 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2015-12-14 17:18:30 +0000 |
commit | 6438322fee6ecb6921882390505ece53c14964a3 (patch) | |
tree | 03efa2db43fe5e6f6074d8a2c78542cf4be3b0ed /src/libutil/addr.c | |
parent | 8a9b8c7a86aa5531ac2119f95a30aa679882a07d (diff) | |
download | rspamd-6438322fee6ecb6921882390505ece53c14964a3.tar.gz rspamd-6438322fee6ecb6921882390505ece53c14964a3.zip |
Fix inet addr hashing
Diffstat (limited to 'src/libutil/addr.c')
-rw-r--r-- | src/libutil/addr.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libutil/addr.c b/src/libutil/addr.c index 185f6a2bc..e87fa5261 100644 --- a/src/libutil/addr.c +++ b/src/libutil/addr.c @@ -1289,7 +1289,7 @@ rspamd_inet_address_hash (gconstpointer a) XXH64_update (&st, &addr->af, sizeof (addr->af)); - if (addr->u.un) { + if (addr->af == AF_UNIX && addr->u.un) { XXH64_update (&st, addr->u.un, sizeof (*addr->u.un)); } else { |