diff options
| author | Igor Ryzhov <iryzhov@nfware.com> | 2024-01-24 03:03:50 +0200 | 
|---|---|---|
| committer | Igor Ryzhov <iryzhov@nfware.com> | 2024-01-28 23:28:40 +0200 | 
| commit | 8763946ab271a714edb2c33b1f1e154bec7e7bab (patch) | |
| tree | 9cc3f664d84158c7aedce13c6b48d67d091d8845 /mgmtd | |
| parent | 3625360d889b71dfe5f8d849955bc7a275946741 (diff) | |
zebra: convert PTM configuration to NB
Signed-off-by: Igor Ryzhov <iryzhov@nfware.com>
Diffstat (limited to 'mgmtd')
| -rw-r--r-- | mgmtd/mgmt_main.c | 6 | 
1 files changed, 6 insertions, 0 deletions
diff --git a/mgmtd/mgmt_main.c b/mgmtd/mgmt_main.c index 100f574b34..68a7489511 100644 --- a/mgmtd/mgmt_main.c +++ b/mgmtd/mgmt_main.c @@ -143,6 +143,9 @@ static struct frr_signal_t mgmt_signals[] = {  extern const struct frr_yang_module_info frr_staticd_cli_info;  #endif +#if HAVE_BFDD == 0 +const char *zebra_features[] = { "ptm-bfd", NULL }; +#endif  /*   * These are stub info structs that are used to load the modules used by backend @@ -151,6 +154,9 @@ extern const struct frr_yang_module_info frr_staticd_cli_info;   */  const struct frr_yang_module_info zebra_info = {  	.name = "frr-zebra", +#if HAVE_BFDD == 0 +	.features = zebra_features, +#endif  	.ignore_cfg_cbs = true,  	.nodes = { { .xpath = NULL } },  };  | 
