examples: Adding missing command-line processing in pcap example
diff --git a/examples/ndn-simple-with-pcap.cc b/examples/ndn-simple-with-pcap.cc
index 6065624..1e35fb0 100644
--- a/examples/ndn-simple-with-pcap.cc
+++ b/examples/ndn-simple-with-pcap.cc
@@ -58,6 +58,10 @@
Config::SetGlobal ("ndn::WireFormat", StringValue ("1"));
+ // Read optional command-line parameters (e.g., enable visualizer with ./waf --run=<> --visualize
+ CommandLine cmd;
+ cmd.Parse (argc, argv);
+
// Creating nodes
NodeContainer nodes;
nodes.Create (3);