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 /sysdep/unix/krt.c | |
parent | cee0cd148c9b71bf47d007c850193b5fbf9486c1 (diff) |
Preexport: No route modification, no linpool needed
Diffstat (limited to 'sysdep/unix/krt.c')
-rw-r--r-- | sysdep/unix/krt.c | 4 |
1 files changed, 1 insertions, 3 deletions
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; |