summaryrefslogtreecommitdiff
path: root/nest/rt.h
diff options
context:
space:
mode:
authorMaria Matejka <mq@ucw.cz>2022-06-27 12:32:15 +0200
committerMaria Matejka <mq@ucw.cz>2022-06-27 12:32:47 +0200
commitc431d9c33c72203498133d7e2422423c37c4719d (patch)
tree7bb195f8e7a236c445ce644853bac9fb6f009cf9 /nest/rt.h
parentd2142ad4050c64991f856734bafadd527c28e74b (diff)
Fixed new route comparison
Diffstat (limited to 'nest/rt.h')
-rw-r--r--nest/rt.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/nest/rt.h b/nest/rt.h
index c959d358..70e0283f 100644
--- a/nest/rt.h
+++ b/nest/rt.h
@@ -181,7 +181,7 @@ struct rt_import_request {
void (*log_state_change)(struct rt_import_request *req, u8 state);
/* Preimport is called when the @new route is just-to-be inserted, replacing @old.
* Return a route (may be different or modified in-place) to continue or NULL to withdraw. */
- struct rte *(*preimport)(struct rt_import_request *req, struct rte *new, struct rte *old);
+ int (*preimport)(struct rt_import_request *req, struct rte *new, struct rte *old);
struct rte *(*rte_modify)(struct rte *, struct linpool *);
};