diff options
| author | Igor Ryzhov <iryzhov@nfware.com> | 2024-01-24 04:35:03 +0200 | 
|---|---|---|
| committer | Igor Ryzhov <iryzhov@nfware.com> | 2024-01-28 23:28:40 +0200 | 
| commit | 185fd140cf74068b49d1539676a50205feb92096 (patch) | |
| tree | d0756a9f9b01aa996fccef012c28af03475dd644 /mgmtd | |
| parent | 8763946ab271a714edb2c33b1f1e154bec7e7bab (diff) | |
zebra: fix build with --disable-rtadv
Signed-off-by: Igor Ryzhov <iryzhov@nfware.com>
Diffstat (limited to 'mgmtd')
| -rw-r--r-- | mgmtd/mgmt_main.c | 12 | 
1 files changed, 10 insertions, 2 deletions
diff --git a/mgmtd/mgmt_main.c b/mgmtd/mgmt_main.c index 68a7489511..8a0e259037 100644 --- a/mgmtd/mgmt_main.c +++ b/mgmtd/mgmt_main.c @@ -143,8 +143,16 @@ static struct frr_signal_t mgmt_signals[] = {  extern const struct frr_yang_module_info frr_staticd_cli_info;  #endif +#if HAVE_BFDD == 0 || defined(HAVE_RTADV) +const char *zebra_features[] = {  #if HAVE_BFDD == 0 -const char *zebra_features[] = { "ptm-bfd", NULL }; +	"ptm-bfd", +#endif +#if defined(HAVE_RTADV) +	"ipv6-router-advertisements", +#endif +	NULL +};  #endif  /* @@ -154,7 +162,7 @@ const char *zebra_features[] = { "ptm-bfd", NULL };   */  const struct frr_yang_module_info zebra_info = {  	.name = "frr-zebra", -#if HAVE_BFDD == 0 +#if HAVE_BFDD == 0 || defined(HAVE_RTADV)  	.features = zebra_features,  #endif  	.ignore_cfg_cbs = true,  | 
