backport 89da23d - don't wrap TimeoutException in ICMPException

This commit is contained in:
Günter Obiltschnig 2018-11-01 11:01:25 +01:00
parent 29b42efbd0
commit ae9a7368cc

View File

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