mgmt,main: configure tables with defaults when missing config section/values
refs: #1743
Change-Id: Id0c24bd2b2e86df763892d194f9c04777a369d0c
diff --git a/daemon/main.cpp b/daemon/main.cpp
index 9fd191e..70717c6 100644
--- a/daemon/main.cpp
+++ b/daemon/main.cpp
@@ -158,6 +158,8 @@
config.parse(m_configFile, true);
config.parse(m_configFile, false);
+ tablesConfig.ensureTablesAreConfigured();
+
// add FIB entry for NFD Management Protocol
shared_ptr<fib::Entry> entry = m_forwarder->getFib().insert("/localhost/nfd").first;
entry->addNextHop(m_internalFace, 0);