<div dir="ltr"><div class="gmail_default" style="font-family:tahoma,sans-serif">​Hi there,<br><br></div><div class="gmail_default" style="font-family:tahoma,sans-serif">I've been trying to import Feature <a href="https://redmine.named-data.net/issues/3034/" target="_blank">#3034</a> and <a href="https://redmine.named-data.net/issues/3159/" target="_blank">#3159</a> to ndnSIM 2.1. I've done with network-region-table definition(NFD/daemon/table/) and modifying onContentStoreMiss(NFD/daemon/fw/forwarder.cpp)*, which was successful. But trying to set config section (NFD/mgmt/tables-config-section) I have failed. I have modified <i>InitializeManagement()</i> and <i>reloadConfigFile()</i> in ndnSIM/model/ndn-l3-protocol.cpp to set <br></div><div class="gmail_default" style="font-family:tahoma,sans-serif;margin-left:40px">m_forwarder->getNetworkRegionTable(); <br><br></div><div class="gmail_default" style="font-family:tahoma,sans-serif">but at the end compiler gives me:<br><br><blockquote>Compiling src/ndnSIM/NFD/daemon/mgmt/tables-config-section.cpp<br>../src/ndnSIM/NFD/daemon/mgmt/tables-config-section.cpp: In constructor ‘nfd::TablesConfigSection::TablesConfigSection(nfd::cs::Cs&, nfd::Pit&, nfd::Fib&, nfd::StrategyChoice&, nfd::Measurements&, nfd::NetworkRegionTable&)’:<br>../src/ndnSIM/NFD/daemon/mgmt/tables-config-section.cpp:38:1: error: uninitialized reference member ‘nfd::TablesConfigSection::m_networkRegionTable’ [-fpermissive]<br> TablesConfigSection::TablesConfigSection(Cs& cs,<br></blockquote></div><blockquote><div class="gmail_default" style="font-family:tahoma,sans-serif"> ^<br></div></blockquote><div class="gmail_default" style="font-family:tahoma,sans-serif"><br></div><div class="gmail_default" style="font-family:tahoma,sans-serif">Could anyone please guide me where to initialize the table?<br><br></div><div class="gmail_default" style="font-family:tahoma,sans-serif">*Since the documentation has not been updated for latest version of NFD, I preferred to go with the way NFD 0.4.0 was working. And yes! Moving Link handling parts to strategy seems to be a good pick, because there are some unnecessary calls for <i>onContentStoreMiss</i>(at least 3 per one ndn stack).<br><br></div><div class="gmail_default" style="font-family:tahoma,sans-serif">Thanks,<br></div><div class="gmail_default" style="font-family:tahoma,sans-serif">Sabet<br></div></div>