summaryrefslogtreecommitdiffstats
path: root/conf/conf.c
diff options
context:
space:
mode:
Diffstat (limited to 'conf/conf.c')
-rw-r--r--conf/conf.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/conf/conf.c b/conf/conf.c
index 61fe9f8..0ce593c 100644
--- a/conf/conf.c
+++ b/conf/conf.c
@@ -10,6 +10,7 @@
#include <stdarg.h>
#include "nest/bird.h"
+#include "nest/route.h"
#include "nest/protocol.h"
#include "nest/iface.h"
#include "lib/resource.h"
@@ -49,6 +50,7 @@ config_parse(struct config *c)
cf_lex_init(1);
cf_lex_init_tables();
protos_preconfig(c);
+ rt_preconfig(c);
cf_parse();
filters_postconfig(); /* FIXME: Do we really need this? */
protos_postconfig(c);
@@ -65,6 +67,7 @@ void
config_commit(struct config *c)
{
config = c;
+ rt_commit(c);
protos_commit(c);
}