summaryrefslogtreecommitdiffstats
path: root/nest
diff options
context:
space:
mode:
authorOndrej Filip <feela@network.cz>1999-03-09 23:27:43 +0100
committerOndrej Filip <feela@network.cz>1999-03-09 23:27:43 +0100
commitc1f8dc9149d3868e5a0f4e4ad97759fb3b177bec (patch)
tree6259cc0781d3e3377049188418fe1ec9f65d477b /nest
parent2575593e0fa9fb84a4cc481928c32519b3fea2cd (diff)
downloadbird-c1f8dc9149d3868e5a0f4e4ad97759fb3b177bec.tar
bird-c1f8dc9149d3868e5a0f4e4ad97759fb3b177bec.zip
Yes, joining the crew. Sorry for being late. Added dummy functions for OSPF.
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