1
0
mirror of https://github.com/mfontanini/libtins synced 2026-01-23 02:35:57 +01:00

Fixed the try/catch block in BaseSniffer::sniff_loop. It now only catches std::runtime_errors.

This commit is contained in:
Matias Fontanini
2012-11-20 16:33:26 -03:00
parent 28e5df3abc
commit 688be1e1da

View File

@@ -226,7 +226,7 @@ namespace Tins {
if(!ret_val)
pcap_breakloop(data->handle);
}
catch(...) {
catch(std::runtime_error&) {
}
}