diff options
| author | Christian Hopps <chopps@labn.net> | 2024-01-19 16:40:12 +0000 | 
|---|---|---|
| committer | Christian Hopps <chopps@labn.net> | 2024-01-26 12:34:46 -0500 | 
| commit | 83abe9c3cb9acd610dcdf8341374428df5ea9093 (patch) | |
| tree | a55b83177da6b9f0ef907e4d8c5d97b61e6e61f5 /staticd | |
| parent | d79ca934eb4c8084324ae8a570fc68d2b861b47d (diff) | |
ripd: ripd convert to mgmtd
Signed-off-by: Christian Hopps <chopps@labn.net>
Diffstat (limited to 'staticd')
| -rw-r--r-- | staticd/static_nb.h | 1 | ||||
| -rw-r--r-- | staticd/static_vty.c | 4 | 
2 files changed, 4 insertions, 1 deletions
diff --git a/staticd/static_nb.h b/staticd/static_nb.h index 9f80653b76..f929997a78 100644 --- a/staticd/static_nb.h +++ b/staticd/static_nb.h @@ -11,6 +11,7 @@ extern "C" {  #endif  extern const struct frr_yang_module_info frr_staticd_info; +extern const struct frr_yang_module_info frr_staticd_cli_info;  /* Mandatory callbacks. */  int routing_control_plane_protocols_control_plane_protocol_staticd_route_list_create( diff --git a/staticd/static_vty.c b/staticd/static_vty.c index a641d1a09f..95f79564af 100644 --- a/staticd/static_vty.c +++ b/staticd/static_vty.c @@ -1578,7 +1578,7 @@ static int static_path_list_cli_cmp(const struct lyd_node *dnode1,  	return (int)distance1 - (int)distance2;  } -const struct frr_yang_module_info frr_staticd_info = { +const struct frr_yang_module_info frr_staticd_cli_info = {  	.name = "frr-staticd",  	.ignore_cfg_cbs = true,  	.nodes = { @@ -1714,5 +1714,7 @@ void static_vty_init(void)  	install_element(CONFIG_NODE, &ipv6_route_cmd);  	install_element(VRF_NODE, &ipv6_route_vrf_cmd); +#ifndef INCLUDE_MGMTD_CMDDEFS_ONLY  	mgmt_be_client_lib_vty_init(); +#endif  }  | 
