summaryrefslogtreecommitdiff
path: root/nest
diff options
context:
space:
mode:
Diffstat (limited to 'nest')
-rw-r--r--nest/proto-hooks.c2
-rw-r--r--nest/proto.c3
-rw-r--r--nest/protocol.h2
3 files changed, 5 insertions, 2 deletions
diff --git a/nest/proto-hooks.c b/nest/proto-hooks.c
index 3d19e3fe..f0261922 100644
--- a/nest/proto-hooks.c
+++ b/nest/proto-hooks.c
@@ -261,7 +261,7 @@ void store_tmp_attrs(rte *e, ea_list *attrs)
* The standard use of this hook is to reject routes having originated
* from the same instance and to set default values of the protocol's metrics.
*
- * Result: -1 if the route has to be accepted, 1 if rejected and 0 if it
+ * Result: 1 if the route has to be accepted, -1 if rejected and 0 if it
* should be passed to the filters.
*/
int import_control(struct proto *p, rte **e, ea_list **attrs, struct linpool *pool)
diff --git a/nest/proto.c b/nest/proto.c
index 16ec3f9b..d6d5d77b 100644
--- a/nest/proto.c
+++ b/nest/proto.c
@@ -546,6 +546,9 @@ protos_build(void)
init_list(&initial_proto_list);
init_list(&flush_proto_list);
proto_build(&proto_device);
+#ifdef CONFIG_RADV
+ proto_build(&proto_radv);
+#endif
#ifdef CONFIG_RIP
proto_build(&proto_rip);
#endif
diff --git a/nest/protocol.h b/nest/protocol.h
index 70999f0e..f95905ae 100644
--- a/nest/protocol.h
+++ b/nest/protocol.h
@@ -71,7 +71,7 @@ void protos_dump_all(void);
*/
extern struct protocol
- proto_device, proto_rip, proto_static,
+ proto_device, proto_radv, proto_rip, proto_static,
proto_ospf, proto_pipe, proto_bgp;
/*