summaryrefslogtreecommitdiff
path: root/proto/pipe
diff options
context:
space:
mode:
authorMaria Matejka <mq@jmq.cz>2020-04-12 21:54:20 +0200
committerMaria Matejka <mq@ucw.cz>2021-10-13 19:09:04 +0200
commitd5a32563df1653952937117133f09143929ff0c2 (patch)
tree215631e21d2db6e97a77d01f51ca8fa8639a8d3f /proto/pipe
parentcee0cd148c9b71bf47d007c850193b5fbf9486c1 (diff)
Preexport: No route modification, no linpool needed
Diffstat (limited to 'proto/pipe')
-rw-r--r--proto/pipe/pipe.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/proto/pipe/pipe.c b/proto/pipe/pipe.c
index 3532f114..a50d44a3 100644
--- a/proto/pipe/pipe.c
+++ b/proto/pipe/pipe.c
@@ -98,9 +98,9 @@ pipe_rt_notify(struct proto *P, struct channel *src_ch, net *n, rte *new, rte *o
}
static int
-pipe_preexport(struct proto *P, rte **ee, struct linpool *p UNUSED)
+pipe_preexport(struct proto *P, rte *e)
{
- struct proto *pp = (*ee)->sender->proto;
+ struct proto *pp = e->sender->proto;
if (pp == P)
return -1; /* Avoid local loops automatically */