diff options
author | file <file@f38db490-d61c-443f-a65b-d21fe96a405b> | 2007-10-02 13:58:19 +0000 |
---|---|---|
committer | file <file@f38db490-d61c-443f-a65b-d21fe96a405b> | 2007-10-02 13:58:19 +0000 |
commit | a63dc47bc64e74d80e29b124a3c2dcc89cdabd9f (patch) | |
tree | 58c0fd1622880e9d464492360db578b3b74d375b /main | |
parent | 6685951d10c9f5599ba6ee419e56e1661975a513 (diff) |
Don't swap channel priority if using epoll as polling should/will only happen off the first channel.
(closes issue #10867)
Reported by: phsultan
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@84368 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'main')
-rw-r--r-- | main/rtp.c | 2 |
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 */ |