diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2020-06-10 11:53:23 +0100 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2020-06-10 11:53:23 +0100 |
commit | 5dac1cff96ff04cc43d690d3cbaf7ba23b8abaa7 (patch) | |
tree | dc5f9a05cdf7236a0f4a9cbac6862731aa44c246 /src/libutil/addr.c | |
parent | 25584ee22ca2e17834a4aac2bf8f56f44273646b (diff) | |
download | rspamd-5dac1cff96ff04cc43d690d3cbaf7ba23b8abaa7.tar.gz rspamd-5dac1cff96ff04cc43d690d3cbaf7ba23b8abaa7.zip |
[Minor] REUSEPORT is broken everywhere but Linux
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 bb98dbee2..782b05254 100644 --- a/src/libutil/addr.c +++ b/src/libutil/addr.c @@ -1079,7 +1079,7 @@ rspamd_inet_address_listen (const rspamd_inet_addr_t *addr, gint type, } #endif -#if defined(SO_REUSEPORT) +#if defined(SO_REUSEPORT) && defined(LINUX) if (opts & RSPAMD_INET_ADDRESS_LISTEN_REUSEPORT) { on = 1; |