summaryrefslogtreecommitdiffstats
path: root/nest/proto-hooks.c
diff options
context:
space:
mode:
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)