diff options
author | Christian Hopps <chopps@labn.net> | 2023-04-29 12:22:37 +0200 |
---|---|---|
committer | Christian Hopps <chopps@labn.net> | 2023-05-28 11:13:22 +0200 |
commit | 070c5e7a91c413e08c1b8f78cc885f082a636b01 (patch) | |
tree | 5c55d456cf6459f89f723c12fc8fd5d645bec0f3 /staticd/static_main.c | |
parent | lib: mgmt msg: add version to messages (diff) | |
download | frr-070c5e7a91c413e08c1b8f78cc885f082a636b01.tar.xz frr-070c5e7a91c413e08c1b8f78cc885f082a636b01.zip |
lib: msg: refactor common connection code from mgmtd
Signed-off-by: Christian Hopps <chopps@labn.net>
Diffstat (limited to 'staticd/static_main.c')
-rw-r--r-- | staticd/static_main.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/staticd/static_main.c b/staticd/static_main.c index 9809d9751..5aa4566ce 100644 --- a/staticd/static_main.c +++ b/staticd/static_main.c @@ -71,7 +71,7 @@ static void sigint(void) /* Disable BFD events to avoid wasting processing. */ bfd_protocol_integration_set_shutdown(true); - mgmt_be_client_lib_destroy(mgmt_lib_hndl); + mgmt_be_client_lib_destroy(); static_vrf_terminate(); @@ -208,7 +208,6 @@ int main(int argc, char **argv, char **envp) /* Initialize MGMT backend functionalities */ mgmt_lib_hndl = mgmt_be_client_lib_init(&mgmt_params, master); - assert(mgmt_lib_hndl); hook_register(routing_conf_event, routing_control_plane_protocols_name_validate); |