summaryrefslogtreecommitdiff
path: root/pimd/pim_pim.c
diff options
context:
space:
mode:
Diffstat (limited to 'pimd/pim_pim.c')
-rw-r--r--pimd/pim_pim.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/pimd/pim_pim.c b/pimd/pim_pim.c
index f82687245d..b2f858b7d9 100644
--- a/pimd/pim_pim.c
+++ b/pimd/pim_pim.c
@@ -310,10 +310,8 @@ static int pim_sock_read(struct thread *t)
if (errno == EINTR)
continue;
if (errno == EWOULDBLOCK || errno == EAGAIN)
- {
- cont = 0;
- break;
- }
+ break;
+
if (PIM_DEBUG_PIM_PACKETS)
zlog_debug ("Received errno: %d %s", errno, safe_strerror (errno));
goto done;