0
0
mirror of https://gitlab.nic.cz/labs/bird.git synced 2024-12-22 09:41:54 +00:00

Fixed non-exporting protocol reload crash

This commit is contained in:
Maria Matejka 2024-06-06 23:06:27 +02:00
parent 9e88fc5b6b
commit b548ffe197

View File

@ -2579,7 +2579,8 @@ proto_cmd_reload(struct proto *p, uintptr_t _prr, int cnt UNUSED)
channel_request_reload(c, channel_create_reload_request(prr));
if (prr->dir & CMD_RELOAD_OUT)
rt_export_refeed(&c->out_req, channel_create_reload_request(prr));
if (c->out_req.name)
rt_export_refeed(&c->out_req, channel_create_reload_request(prr));
}
cli_msg(-15, "%s: reloading", p->name);