aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--main/rtp.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/main/rtp.c b/main/rtp.c
index 10173ae79..211852418 100644
--- a/main/rtp.c
+++ b/main/rtp.c
@@ -3586,9 +3586,11 @@ static enum ast_bridge_result bridge_p2p_loop(struct ast_channel *c0, struct ast
ast_frfree(fr);
}
/* Swap priority */
+#ifndef HAVE_EPOLL
cs[2] = cs[0];
cs[0] = cs[1];
cs[1] = cs[2];
+#endif
}
/* If we are totally avoiding the core, then restore our link to it */