mfontanini / libtins

High-level, multiplatform C++ network packet sniffing and crafting library.
http://libtins.github.io/
BSD 2-Clause "Simplified" License
1.91k stars 375 forks source link

routing: try/catch ipv4 to match ipv6 logic #353

Open douglaspeer opened 5 years ago

douglaspeer commented 5 years ago

The NetworkInterface::name() has the potential to throw if the network disappears.