From d889055d8e8d87cac0f4a7086e5b453bbe2d0f79 Mon Sep 17 00:00:00 2001 From: David Lamparter Date: Thu, 2 Nov 2023 13:49:28 -0700 Subject: lib: convert if_zapi_callbacks into actual hooks ...so that multiple functions can be subscribed. The create/destroy hooks are renamed to real/unreal because that's what they *actually* signal. Signed-off-by: David Lamparter --- zebra/interface.c | 5 ----- 1 file changed, 5 deletions(-) (limited to 'zebra/interface.c') diff --git a/zebra/interface.c b/zebra/interface.c index 1afd9d5a7d..1283f15b05 100644 --- a/zebra/interface.c +++ b/zebra/interface.c @@ -5664,11 +5664,6 @@ void zebra_if_init(void) /* Install configuration write function. */ if_cmd_init(if_config_write); install_node(&link_params_node); - /* - * This is *intentionally* setting this to NULL, signaling - * that interface creation for zebra acts differently - */ - if_zapi_callbacks(NULL, NULL, NULL, NULL); install_element(VIEW_NODE, &show_interface_cmd); install_element(VIEW_NODE, &show_interface_vrf_all_cmd); -- cgit v1.2.3