From 85f605f20d6ba5ec51b1b2aae8d3c43d2445afa4 Mon Sep 17 00:00:00 2001 From: Tatsuhiro Tsujikawa Date: Tue, 2 Sep 2014 01:00:27 +0900 Subject: [PATCH] src: Check availability of ENONET --- src/shrpx_listen_handler.cc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/shrpx_listen_handler.cc b/src/shrpx_listen_handler.cc index f3dfb4d6..a4d05dbc 100644 --- a/src/shrpx_listen_handler.cc +++ b/src/shrpx_listen_handler.cc @@ -374,7 +374,9 @@ void perform_accept_pending_connection(ListenHandler *listener_handler, errno == EPROTO || errno == ENOPROTOOPT || errno == EHOSTDOWN || +#ifdef ENONET errno == ENONET || +#endif // ENONET errno == EHOSTUNREACH || errno == EOPNOTSUPP || errno == ENETUNREACH) {