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/pipe/pipe.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'proto/pipe/pipe.c') 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 */ -- cgit v1.2.3