summaryrefslogtreecommitdiffstats
path: root/src/rspamd.c
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2016-05-24 11:47:09 +0100
committerVsevolod Stakhov <vsevolod@highsecure.ru>2016-05-24 11:47:09 +0100
commit1474f9836af38dc8ad6089fe4dee8ece73a2a122 (patch)
tree6318152fa915e4b13a61c267b47ef09a4b34d015 /src/rspamd.c
parent20343707b64a8780656b0f1bbe1db39b95068da6 (diff)
downloadrspamd-1474f9836af38dc8ad6089fe4dee8ece73a2a122.tar.gz
rspamd-1474f9836af38dc8ad6089fe4dee8ece73a2a122.zip
[Fix] Fix listening on UDP sockets
Diffstat (limited to 'src/rspamd.c')
-rw-r--r--src/rspamd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rspamd.c b/src/rspamd.c
index 99fa6ca39..b6b5a271c 100644
--- a/src/rspamd.c
+++ b/src/rspamd.c
@@ -369,7 +369,7 @@ create_listen_socket (GPtrArray *addrs, guint cnt,
ls = g_slice_alloc0 (sizeof (*ls));
ls->addr = g_ptr_array_index (addrs, i);
ls->fd = fd;
- ls->type = RSPAMD_WORKER_SOCKET_TCP;
+ ls->type = RSPAMD_WORKER_SOCKET_UDP;
result = g_list_prepend (result, ls);
}
}