commit | defb5e4ede303b0c8f93bb73c2ba8a2aac465cce | [log] [tgz] |
---|---|---|
author | Yingdi Yu <yuyingdi@gmail.com> | Mon Mar 31 18:18:09 2014 -0700 |
committer | Yingdi Yu <yuyingdi@gmail.com> | Tue Apr 01 14:40:38 2014 -0700 |
tree | 7b9af4b21da35bf86fa57135fde32d8e2df63b93 | |
parent | d9e98736c06eae095fedc94651df3752db5e75b0 [diff] [blame] |
security: Add configuration based validator Change-Id: Ic5837f4b02a613966c0a2e969c974ebd0786f769
diff --git a/src/main.cpp b/src/main.cpp index ce89f3f..e360e5d 100644 --- a/src/main.cpp +++ b/src/main.cpp
@@ -10,7 +10,10 @@ main(int argc, char** argv) { try { - ndn::nrd::Nrd nrd; + // TODO: the configFilename should be obtained from command line arguments. + std::string configFilename("nrd.conf"); + + ndn::nrd::Nrd nrd(configFilename); nrd.enableLocalControlHeader(); nrd.listen(); }