]> 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>
Sun, 25 May 2025 19:01:49 +0000 (21:01 +0200)
commit00562a5eb217ea9c0feadfe9391a427dc0442637
tree880cdeaea571580dc4de5b1013e2f85c053cbdef
parent1c98c8050447c820b33cc5362b682baefef3d7d5
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