summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHolger Eitzenberger <heitzenberger@astaro.com>2009-11-13 18:31:09 +0100
committerHarald Welte <laforge@gnumonks.org>2010-10-21 19:15:40 +0200
commit89da48159ee14f568f41af141153bcc884a7b8d9 (patch)
treecc3b1713c27c2c6ba63c79e233d22cd76b94e554
parentbfbb570905b08df081c56f1d4d4b8013beed46a2 (diff)
IPFIX: handle EPERM for send()astaro_ulogd
Signed-off-by: Holger Eitzenberger <heitzenberger@astaro.com>
-rw-r--r--output/ipfix/ulogd_output_IPFIX.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/output/ipfix/ulogd_output_IPFIX.c b/output/ipfix/ulogd_output_IPFIX.c
index 4b2e783..256ebc6 100644
--- a/output/ipfix/ulogd_output_IPFIX.c
+++ b/output/ipfix/ulogd_output_IPFIX.c
@@ -184,7 +184,7 @@ send_msgs(struct ulogd_pluginstance *pi)
if (errno == EAGAIN || errno == EINTR)
goto done;
- else if (errno == ECONNREFUSED)
+ else if (errno == ECONNREFUSED || errno == EPERM)
ret = ULOGD_IRET_AGAIN;
else
ret = ULOGD_IRET_ERR;