diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2017-03-10 15:19:32 +0000 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2017-03-10 16:06:30 +0000 |
commit | 087dcad963c1e39f9cbeb7d6d166de33eccf62ce (patch) | |
tree | ba23f877dcea373d0992507413acf062cd043a0e /src/libutil/addr.h | |
parent | 57df6d019a3b99c8a49e73b4ea4bbc0ff4086b91 (diff) | |
download | rspamd-087dcad963c1e39f9cbeb7d6d166de33eccf62ce.tar.gz rspamd-087dcad963c1e39f9cbeb7d6d166de33eccf62ce.zip |
[Fix] Do not use local_addrs in proxy
Diffstat (limited to 'src/libutil/addr.h')
-rw-r--r-- | src/libutil/addr.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/libutil/addr.h b/src/libutil/addr.h index 2d31e4f23..a50786adc 100644 --- a/src/libutil/addr.h +++ b/src/libutil/addr.h @@ -274,7 +274,8 @@ gboolean rspamd_inet_address_equal (gconstpointer a, gconstpointer b); /** * Returns TRUE if an address belongs to some local address */ -gboolean rspamd_inet_address_is_local (const rspamd_inet_addr_t *addr); +gboolean rspamd_inet_address_is_local (const rspamd_inet_addr_t *addr, + gboolean check_laddrs); /** * Returns size of storage required to store a complete IP address |