Index: res/res_features.c =================================================================== --- res/res_features.c (revision 305887) +++ res/res_features.c (working copy) @@ -2764,12 +2764,12 @@ continue; } - if (!(fds[y].revents & (POLLIN | POLLERR))) { + if (!(fds[y].revents & (POLLIN | POLLPRI))) { /* Next x */ continue; } - if (fds[y].revents & POLLERR) { + if (fds[y].revents & POLLPRI) { ast_set_flag(chan, AST_FLAG_EXCEPTION); } else { ast_clear_flag(chan, AST_FLAG_EXCEPTION); @@ -2835,7 +2835,7 @@ } new_fds = tmp; new_fds[new_nfds].fd = chan->fds[x]; - new_fds[new_nfds].events = POLLIN | POLLERR; + new_fds[new_nfds].events = POLLIN | POLLPRI; new_fds[new_nfds].revents = 0; new_nfds++; }