summaryrefslogtreecommitdiff
path: root/sysdep/unix
diff options
context:
space:
mode:
authorMaria Matejka <mq@ucw.cz>2022-03-09 10:50:38 +0100
committerMaria Matejka <mq@ucw.cz>2022-03-09 10:50:38 +0100
commitff47cd80dd04bc11692248a40cbf52ee8d351064 (patch)
treeef64550e00c6610e55a2d0f9f1ebf71e93572f78 /sysdep/unix
parent9e60a1fbc3ef9ab93b414dcf451bbe741e2e8827 (diff)
parentd5a32563df1653952937117133f09143929ff0c2 (diff)
Merge commit 'd5a32563' into haugesund
Diffstat (limited to 'sysdep/unix')
-rw-r--r--sysdep/unix/krt.c4
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;