Index: lldpd.c =================================================================== RCS file: /cvs/src/usr.sbin/lldpd/lldpd.c,v diff -u -p -r1.2 lldpd.c --- lldpd.c 2 May 2025 09:56:01 -0000 1.2 +++ lldpd.c 2 May 2025 10:23:45 -0000 @@ -943,6 +943,12 @@ ctl_recv(int fd, short events, void *arg return; } + if (ctl->ctl_handler == NULL) { + lwarn("%s: message %u did not set ctl_handler", __func__, + msgtype); + abort(); + } + (*ctl->ctl_handler)(lldpd, ctl, fd); }