summaryrefslogtreecommitdiffstats
path: root/nest/proto-hooks.c
diff options
context:
space:
mode:
authorOndrej Zajicek <santiago@crfreenet.org>2011-03-13 11:33:50 +0100
committerOndrej Zajicek <santiago@crfreenet.org>2011-03-13 11:33:50 +0100
commit93e868c730dc0b1825b2a685e0b066c051b1cb07 (patch)
tree732a24861785cbefac966c365a762628bac9c0ac /nest/proto-hooks.c
parent9d67ffb0b4cdfbbf88779ce2b44ba810d1ba85d3 (diff)
downloadbird-93e868c730dc0b1825b2a685e0b066c051b1cb07.tar
bird-93e868c730dc0b1825b2a685e0b066c051b1cb07.zip
Implements Router Advertisement protocol.
Diffstat (limited to 'nest/proto-hooks.c')
-rw-r--r--nest/proto-hooks.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/nest/proto-hooks.c b/nest/proto-hooks.c
index 3d19e3f..f026192 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)