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:
@@ -226,7 +226,7 @@ namespace Tins {
|
||||
if(!ret_val)
|
||||
pcap_breakloop(data->handle);
|
||||
}
|
||||
catch(...) {
|
||||
catch(std::runtime_error&) {
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user