don't wrap TimeoutException in ICMPException

This commit is contained in:
Günter Obiltschnig 2018-02-21 19:16:44 +01:00
parent 2870dd898c
commit 89da23d363

View File

@ -93,6 +93,10 @@ int ICMPSocketImpl::receiveFrom(void*, int, SocketAddress& address, int flags)
{
throw;
}
catch (TimeoutException&)
{
throw;
}
catch (Exception&)
{
std::string err = _icmpPacket.errorDescription(buffer.begin(), maxPacketSize);