@@ -23,7 +23,7 @@
* THE SOFTWARE.
*/
#include "slirp.h"
-
+#define IGNOREPOLLPRI
#ifndef _WIN32
#include <net/if.h>
@@ -621,6 +621,8 @@
* This will soread as well, so no need to
* test for SLIRP_POLL_IN below if this succeeds
*/
+
+#ifndef IGNOREPOLLPRI
if (revents & SLIRP_POLL_PRI) {
ret = sorecvoob(so);
if (ret < 0) {
@@ -633,6 +635,9 @@
* Check sockets for reading
*/
else if (revents &
+#else
+ if (revents &
+#endif
(SLIRP_POLL_IN | SLIRP_POLL_HUP | SLIRP_POLL_ERR)) {
/*
* Check for incoming connections