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 --- sysdep/unix/krt.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'sysdep') diff --git a/sysdep/unix/krt.c b/sysdep/unix/krt.c index 7c2614b1..da61fc9c 100644 --- a/sysdep/unix/krt.c +++ b/sysdep/unix/krt.c @@ -903,11 +903,9 @@ krt_store_tmp_attrs(struct rte *rt, struct linpool *pool) } static int -krt_preexport(struct proto *P, rte **new, struct linpool *pool UNUSED) +krt_preexport(struct proto *P, rte *e) { // struct krt_proto *p = (struct krt_proto *) P; - rte *e = *new; - if (e->attrs->src->proto == P) return -1; -- cgit v1.2.3