Wireshark: ignore unkown input

This commit is contained in:
Bastian Bloessl
2015-10-24 01:11:32 +02:00
parent 85de8f71dc
commit 0486af7863
+2 -1
View File
@@ -180,7 +180,8 @@ wireshark_connector_impl::general_work(int noutput, gr_vector_int& ninput_items,
dout << "message length " << pmt::blob_length(pmt::cdr(msg)) << std::endl; dout << "message length " << pmt::blob_length(pmt::cdr(msg)) << std::endl;
handle_pdu(msg); handle_pdu(msg);
} else { } else {
throw std::invalid_argument("wireshark connector expects PDUs"); dout << "WIRESHARK: ignoring message" << std::endl;
return 0;
} }
} }