We now call .fail() instead of throwing an exception. Also modernize the code with some C++11 features. In particular, std::unique_ptr is now used to manage the pcap instance. Change-Id: I91200ff9ab64ddb2d86f082647043e42ca85f538 Refs: #1984
We now call .fail() instead of throwing an exception. Also modernize the code with some C++11 features. In particular, std::unique_ptr is now used to manage the pcap instance. Change-Id: I91200ff9ab64ddb2d86f082647043e42ca85f538 Refs: #1984