don't wrap TimeoutException in ICMPException

This commit is contained in:
Günter Obiltschnig 2018-02-21 19:16:44 +01:00 committed by Alex Fabijanic
parent 2ff645d598
commit 1fdc18d35f

View File

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