]> git.ipfire.org Git - thirdparty/bird.git/commit
Proto: deferring start from proto_enable
authorMaria Matejka <mq@ucw.cz>
Thu, 18 Sep 2025 10:43:44 +0000 (12:43 +0200)
committerMaria Matejka <mq@ucw.cz>
Mon, 22 Sep 2025 10:45:25 +0000 (12:45 +0200)
commit66184add747c846ad78ecff8714120fd97792373
tree0f2c656e206aed8585ad1b94f83ef30c3dc6f0cc
parent1a65e3aef9be0193fe591cbbfd09009cfd521206
Proto: deferring start from proto_enable

When the enable command is issued from CLI, we actually do not need
to enable the protocol right away, it's enough to run the rethink goal
function later from a deferred context. This allows us to change the
protocol's loop safely.
nest/proto.c