diff --git a/libp2p/Network.cpp b/libp2p/Network.cpp index d004f33d2..d1e97fac6 100644 --- a/libp2p/Network.cpp +++ b/libp2p/Network.cpp @@ -154,7 +154,7 @@ bi::tcp::endpoint Network::traverseNAT(std::vector const& _ifAddres upnp = new UPnP; } // let m_upnp continue as null - we handle it properly. - catch (NoUPnPDevice) {} + catch (...) {} bi::tcp::endpoint upnpep; if (upnp && upnp->isValid())