dump: minor error message fix
refs #3683
Change-Id: I40b89fcfb93e469006f24764786fc70331671b21
diff --git a/tools/dump/ndndump.cpp b/tools/dump/ndndump.cpp
index 24084f5..d23bf9a 100644
--- a/tools/dump/ndndump.cpp
+++ b/tools/dump/ndndump.cpp
@@ -140,7 +140,7 @@
m_dataLinkType = pcap_datalink(m_pcap);
if (m_dataLinkType != DLT_EN10MB && m_dataLinkType != DLT_PPP) {
- BOOST_THROW_EXCEPTION(Error("Unsupported pcap format (" + to_string(m_dataLinkType)));
+ BOOST_THROW_EXCEPTION(Error("Unsupported pcap format (" + to_string(m_dataLinkType) + ")"));
}
pcap_loop(m_pcap, -1, &Ndndump::onCapturedPacket, reinterpret_cast<uint8_t*>(this));