summaryrefslogtreecommitdiff
path: root/proto/pipe/pipe.c
diff options
context:
space:
mode:
Diffstat (limited to 'proto/pipe/pipe.c')
-rw-r--r--proto/pipe/pipe.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/proto/pipe/pipe.c b/proto/pipe/pipe.c
index 57db3e8b..f3df3e71 100644
--- a/proto/pipe/pipe.c
+++ b/proto/pipe/pipe.c
@@ -44,10 +44,10 @@
#include "pipe.h"
static void
-pipe_rt_notify(struct proto *P, rtable *src_table, net *n, rte *new, rte *old, ea_list *attrs)
+pipe_rt_notify(struct proto *P, struct channel *src_ch, net *n, rte *new, rte *old, ea_list *attrs)
{
struct pipe_proto *p = (void *) P;
- struct channel *dst = (src_table == p->pri->table) ? p->sec : p->pri;
+ struct channel *dst = (src_ch == p->pri) ? p->sec : p->pri;
struct rte_src *src;
net *nn;
@@ -89,9 +89,9 @@ pipe_rt_notify(struct proto *P, rtable *src_table, net *n, rte *new, rte *old, e
src = old->attrs->src;
}
- src_table->pipe_busy = 1;
+ src_ch->table->pipe_busy = 1;
rte_update2(dst, nn, e, src);
- src_table->pipe_busy = 0;
+ src_ch->table->pipe_busy = 0;
}
static int