diff options
author | Maria Matejka <mq@jmq.cz> | 2020-04-12 21:54:20 +0200 |
---|---|---|
committer | Maria Matejka <mq@ucw.cz> | 2021-10-13 19:09:04 +0200 |
commit | d5a32563df1653952937117133f09143929ff0c2 (patch) | |
tree | 215631e21d2db6e97a77d01f51ca8fa8639a8d3f /proto/radv | |
parent | cee0cd148c9b71bf47d007c850193b5fbf9486c1 (diff) |
Preexport: No route modification, no linpool needed
Diffstat (limited to 'proto/radv')
-rw-r--r-- | proto/radv/radv.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/proto/radv/radv.c b/proto/radv/radv.c index 66e8eb4b..540ff2a7 100644 --- a/proto/radv/radv.c +++ b/proto/radv/radv.c @@ -391,12 +391,12 @@ radv_net_match_trigger(struct radv_config *cf, net *n) } int -radv_preexport(struct proto *P, rte **new, struct linpool *pool UNUSED) +radv_preexport(struct proto *P, rte *new) { // struct radv_proto *p = (struct radv_proto *) P; struct radv_config *cf = (struct radv_config *) (P->cf); - if (radv_net_match_trigger(cf, (*new)->net)) + if (radv_net_match_trigger(cf, new->net)) return RIC_PROCESS; if (cf->propagate_routes) |