summaryrefslogtreecommitdiff
path: root/nest/proto.c
diff options
context:
space:
mode:
authorMaria Matejka <mq@jmq.cz>2021-11-12 15:53:33 +0000
committerMaria Matejka <mq@ucw.cz>2021-11-22 19:05:44 +0100
commitdc160e11e1a9e4344bbee6fd0bc8aee229d7c540 (patch)
tree8d8e56bf81157791744b36dade351f6bd3ed8a92 /nest/proto.c
parent794a4eefa11f3166404d91edddd0f4f19458f652 (diff)
Route table import-to-export announcement indirection to reduce pipe traffic
Diffstat (limited to 'nest/proto.c')
-rw-r--r--nest/proto.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/nest/proto.c b/nest/proto.c
index 623585f1..b7dbae5e 100644
--- a/nest/proto.c
+++ b/nest/proto.c
@@ -468,6 +468,7 @@ channel_start_import(struct channel *c)
c->in_req = (struct rt_import_request) {
.name = rn,
+ .list = proto_work_list(c->proto),
.trace_routes = c->debug | c->proto->debug,
.dump_req = channel_dump_import_req,
.log_state_change = channel_import_log_state_change,
@@ -886,6 +887,7 @@ channel_setup_in_table(struct channel *c, int best)
c->in_table = &cat->cat;
c->in_table->push = (struct rt_import_request) {
.name = cat->name,
+ .list = proto_work_list(c->proto),
.trace_routes = c->debug | c->proto->debug,
.dump_req = channel_in_push_dump_req,
.log_state_change = channel_push_log_state_change,
@@ -928,6 +930,7 @@ channel_setup_out_table(struct channel *c)
c->out_table = &cat->cat;
c->out_table->push = (struct rt_import_request) {
.name = cat->name,
+ .list = proto_work_list(c->proto),
.trace_routes = c->debug | c->proto->debug,
.dump_req = channel_out_push_dump_req,
.log_state_change = channel_push_log_state_change,