Implemented set to monitor pending interests in manager.
Change-Id: I4a11db79053e69a19ceba0e0501b93911131d1d7
diff --git a/src/main.cpp b/src/main.cpp
index 1deee0b..c4240d9 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -141,8 +141,9 @@
throw ndn::Error("wrong number of arguments for torrent");
}
auto torrentName = args[0];
- auto dataPath = args[1];
- SequentialDataFetcher fetcher(torrentName, dataPath);
+ auto dataPath = args[1];
+ auto seedFlag = (vm.count("seed") != 0);
+ SequentialDataFetcher fetcher(torrentName, dataPath, seedFlag);
fetcher.start();
}
}