diff options
author | Rainer Gerhards <rgerhards@adiscon> | 2008-04-09 08:11:22 +0200 |
---|---|---|
committer | Rainer Gerhards <rgerhards@adiscon> | 2008-04-09 08:11:22 +0200 |
commit | a61f8543ff89a9eef1bef1686fff1035f5f79249 (patch) | |
tree | 90e0ebe8077ea234c1ed9e4e2bdc807ec14120ca /tcpsrv.c | |
parent | 9b5fa059d026777ca9d95b66b17d95296fd6c1ff (diff) | |
download | rsyslog-a61f8543ff89a9eef1bef1686fff1035f5f79249.tar.gz rsyslog-a61f8543ff89a9eef1bef1686fff1035f5f79249.tar.bz2 rsyslog-a61f8543ff89a9eef1bef1686fff1035f5f79249.zip |
our BSD define conflicted with a BSD system define
renamed to OS_BSD
Diffstat (limited to 'tcpsrv.c')
-rw-r--r-- | tcpsrv.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -327,7 +327,7 @@ static int *create_tcp_socket(tcpsrv_t *pThis) /* We need to enable BSD compatibility. Otherwise an attacker * could flood our log files by sending us tons of ICMP errors. */ -#ifndef BSD +#ifndef OS_BSD if(net.should_use_so_bsdcompat()) { if (setsockopt(*s, SOL_SOCKET, SO_BSDCOMPAT, (char *) &on, sizeof(on)) < 0) { |