dump: print libpcap version in --version output
Change-Id: Id6a0844df218a068a2b8b7d359273c4852bcabcc
diff --git a/tools/dump/main.cpp b/tools/dump/main.cpp
index 06e9a0e..25a0226 100644
--- a/tools/dump/main.cpp
+++ b/tools/dump/main.cpp
@@ -35,7 +35,6 @@
**/
#include "ndndump.hpp"
-#include "core/common.hpp"
#include "core/version.hpp"
#include <sstream>
@@ -112,7 +111,8 @@
}
if (vm.count("version") > 0) {
- std::cout << "ndndump " << tools::VERSION << std::endl;
+ std::cout << "ndndump " << tools::VERSION << "\n"
+ << pcap_lib_version() << std::endl;
return 0;
}