summaryrefslogtreecommitdiffstats
path: root/nest
diff options
context:
space:
mode:
Diffstat (limited to 'nest')
-rw-r--r--nest/proto.c3
-rw-r--r--nest/protocol.h1
2 files changed, 4 insertions, 0 deletions
diff --git a/nest/proto.c b/nest/proto.c
index 1715585..4df625f 100644
--- a/nest/proto.c
+++ b/nest/proto.c
@@ -264,6 +264,9 @@ protos_build(void)
#ifdef CONFIG_STATIC
add_tail(&protocol_list, &proto_static.n);
#endif
+#ifdef CONFIG_OSPF
+ add_tail(&protocol_list, &proto_ospf.n);
+#endif
proto_pool = rp_new(&root_pool, "Protocols");
proto_flush_event = ev_new(proto_pool);
proto_flush_event->hook = proto_flush_all;
diff --git a/nest/protocol.h b/nest/protocol.h
index cb30754..a1ee2b8 100644
--- a/nest/protocol.h
+++ b/nest/protocol.h
@@ -58,6 +58,7 @@ extern list protocol_list;
extern struct protocol proto_device;
extern struct protocol proto_rip;
extern struct protocol proto_static;
+extern struct protocol proto_ospf;
/*
* Routing Protocol Instance