aboutsummaryrefslogtreecommitdiffstats
path: root/src/libutil/addr.c
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2016-06-25 13:40:00 +0100
committerVsevolod Stakhov <vsevolod@highsecure.ru>2016-06-25 13:40:00 +0100
commit9919068fcd7e999502ec62cc1fd2b794e5ced55b (patch)
tree4dc488bf5d33a94632e958753ed1da7f97b8b809 /src/libutil/addr.c
parentf0448d158b9858294a5cd54d3b2fab15193f1485 (diff)
downloadrspamd-9919068fcd7e999502ec62cc1fd2b794e5ced55b.tar.gz
rspamd-9919068fcd7e999502ec62cc1fd2b794e5ced55b.zip
[Feature] Use new ip parsing API
Diffstat (limited to 'src/libutil/addr.c')
-rw-r--r--src/libutil/addr.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libutil/addr.c b/src/libutil/addr.c
index 3fee0b4bc..5d96472a0 100644
--- a/src/libutil/addr.c
+++ b/src/libutil/addr.c
@@ -1506,10 +1506,10 @@ rspamd_inet_address_is_local (const rspamd_inet_addr_t *addr)
return FALSE;
}
-void **
+radix_compressed_t **
rspamd_inet_library_init (void)
{
- return (void **)&local_addrs;
+ return &local_addrs;
}
void