model: Add ability to get pointer to Fib from fib::Entry
diff --git a/model/fib/ndn-fib-impl.cc b/model/fib/ndn-fib-impl.cc
index 218502b..ccc4f10 100644
--- a/model/fib/ndn-fib-impl.cc
+++ b/model/fib/ndn-fib-impl.cc
@@ -112,9 +112,9 @@
{
if (result.second)
{
- Ptr<EntryImpl> newEntry = Create<EntryImpl> (prefix);
- newEntry->SetTrie (result.first);
- result.first->set_payload (newEntry);
+ Ptr<EntryImpl> newEntry = Create<EntryImpl> (this, prefix);
+ newEntry->SetTrie (result.first);
+ result.first->set_payload (newEntry);
}
super::modify (result.first,