From d5a32563df1653952937117133f09143929ff0c2 Mon Sep 17 00:00:00 2001 From: Maria Matejka Date: Sun, 12 Apr 2020 21:54:20 +0200 Subject: Preexport: No route modification, no linpool needed --- proto/radv/radv.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'proto/radv/radv.c') 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) -- cgit v1.2.3