summaryrefslogtreecommitdiff
path: root/nest/proto.c
diff options
context:
space:
mode:
authorMaria Matejka <mq@ucw.cz>2022-09-01 11:17:35 +0200
committerMaria Matejka <mq@ucw.cz>2022-09-01 22:22:31 +0200
commit66ccdc2a0c8f10263679e7fac37c1db1adf64b4f (patch)
tree3940cfc08f7f364aebef839fd808eb2ecb66dc46 /nest/proto.c
parentdd786e338c4adccee7077c8ecfaf56df2831ee4c (diff)
Added an indirection to the export announcement routine
There are performance reasons for this, mostly that we don't want to ping the table service routine with every import.
Diffstat (limited to 'nest/proto.c')
-rw-r--r--nest/proto.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/nest/proto.c b/nest/proto.c
index f4615c2f..783672ec 100644
--- a/nest/proto.c
+++ b/nest/proto.c
@@ -511,6 +511,7 @@ channel_start_import(struct channel *c)
c->in_req = (struct rt_import_request) {
.name = mb_sprintf(c->proto->pool, "%s.%s", c->proto->name, c->name),
.trace_routes = c->debug | c->proto->debug,
+ .list = proto_work_list(c->proto),
.dump_req = channel_dump_import_req,
.log_state_change = channel_import_log_state_change,
.preimport = channel_preimport,