summaryrefslogtreecommitdiffstats
path: root/mgmtd
diff options
context:
space:
mode:
authorIgor Ryzhov <iryzhov@nfware.com>2024-01-24 03:35:03 +0100
committerIgor Ryzhov <iryzhov@nfware.com>2024-01-28 22:28:40 +0100
commit185fd140cf74068b49d1539676a50205feb92096 (patch)
treed0756a9f9b01aa996fccef012c28af03475dd644 /mgmtd
parentzebra: convert PTM configuration to NB (diff)
downloadfrr-185fd140cf74068b49d1539676a50205feb92096.tar.xz
frr-185fd140cf74068b49d1539676a50205feb92096.zip
zebra: fix build with --disable-rtadv
Signed-off-by: Igor Ryzhov <iryzhov@nfware.com>
Diffstat (limited to 'mgmtd')
-rw-r--r--mgmtd/mgmt_main.c12
1 files changed, 10 insertions, 2 deletions
diff --git a/mgmtd/mgmt_main.c b/mgmtd/mgmt_main.c
index 68a748951..8a0e25903 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,