diff options
author | Maria Matejka <mq@ucw.cz> | 2022-06-27 12:32:15 +0200 |
---|---|---|
committer | Maria Matejka <mq@ucw.cz> | 2022-06-27 12:32:47 +0200 |
commit | c431d9c33c72203498133d7e2422423c37c4719d (patch) | |
tree | 7bb195f8e7a236c445ce644853bac9fb6f009cf9 /nest/rt.h | |
parent | d2142ad4050c64991f856734bafadd527c28e74b (diff) |
Fixed new route comparison
Diffstat (limited to 'nest/rt.h')
-rw-r--r-- | nest/rt.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 *); }; |