]> 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 11:35:02 +0000 (13:35 +0200)
commitf9bb2d7294f0107f223a7fb3e6f44ff67b6bfc0e
tree0f5100c790c7dd1ad68fd1ec34ce2c3568e87115
parentdbd353ededd0539a823110dd5fa20a1f7e441a5f
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