]> git.ipfire.org Git - thirdparty/bird.git/commit
All events are required to have their hook
authorMaria Matejka <mq@ucw.cz>
Wed, 21 May 2025 08:15:49 +0000 (10:15 +0200)
committerMaria Matejka <mq@ucw.cz>
Fri, 23 May 2025 13:19:36 +0000 (15:19 +0200)
commita43dbea58f0184dd5a81f684a61c8477679c7579
tree31aa57539d303a3148e3980c5941137486395f28
parent01c3b07e20e6b6161582972eaabb269d603eb7d4
All events are required to have their hook

This is quite an obvious requirement but it wasn't enforced properly,
leading to unnecessarily tedious debugging when an uninitialized event
is improperly enqueued.

Now BIRD is going to crash as soon as somebody tries to enqueue such
an event, not when trying to execute nothing from a clean context.

Would have helped with #238.
lib/event.c