mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-06 10:54:47 +00:00
![]() This removes a giant `switch { }` block from lib/zclient.c and harmonizes all zclient callback function types to be the same (some had a subset of the args, some had a void return, now they all have ZAPI_CALLBACK_ARGS and int return.) Apart from getting rid of the giant switch, this is a minor security benefit since the function pointers are now in a `const` array, so they can't be overwritten by e.g. heap overflows for code execution anymore. Signed-off-by: David Lamparter <equinox@opensourcerouting.org> |
||
---|---|---|
.. | ||
.gitignore | ||
bfd_packet.c | ||
bfd.c | ||
bfd.h | ||
bfdctl.h | ||
bfdd_cli.c | ||
bfdd_nb_config.c | ||
bfdd_nb_state.c | ||
bfdd_nb.c | ||
bfdd_nb.h | ||
bfdd_vty.c | ||
bfdd.c | ||
bfddp_packet.h | ||
config.c | ||
control.c | ||
dplane.c | ||
event.c | ||
Makefile | ||
ptm_adapter.c | ||
subdir.am |