commit | d882ee79f556477aad41eab14d7c531fc1de0c61 | [log] [tgz] |
---|---|---|
author | Chaoyi Bian <tlyzbcy@gmail.com> | Fri Mar 09 17:58:11 2012 -0800 |
committer | Chaoyi Bian <tlyzbcy@gmail.com> | Fri Mar 09 17:58:11 2012 -0800 |
tree | cbec7e1c558e3c80303df74d99f6c24292a63e71 | |
parent | 74cadb593303110e03d9e0509493e755d275d51a [diff] [blame] |
set interest filter for sync interest
diff --git a/model/sync-logic.cc b/model/sync-logic.cc index a07259b..3637076 100644 --- a/model/sync-logic.cc +++ b/model/sync-logic.cc
@@ -41,6 +41,7 @@ , m_ccnxHandle (ccnxHandle) { srandom(time(NULL)); + m_ccnxHandle->setInterestFilter(syncPrefix, bind(&SyncLogic::respondSyncInterest, this, _1)); } SyncLogic::~SyncLogic ()