summaryrefslogtreecommitdiff
path: root/yang
diff options
context:
space:
mode:
authorIgor Ryzhov <iryzhov@nfware.com>2024-01-24 04:35:03 +0200
committerIgor Ryzhov <iryzhov@nfware.com>2024-01-28 23:28:40 +0200
commit185fd140cf74068b49d1539676a50205feb92096 (patch)
treed0756a9f9b01aa996fccef012c28af03475dd644 /yang
parent8763946ab271a714edb2c33b1f1e154bec7e7bab (diff)
zebra: fix build with --disable-rtadv
Signed-off-by: Igor Ryzhov <iryzhov@nfware.com>
Diffstat (limited to 'yang')
-rw-r--r--yang/frr-zebra.yang6
1 files changed, 6 insertions, 0 deletions
diff --git a/yang/frr-zebra.yang b/yang/frr-zebra.yang
index 689a9c2560..72193664d4 100644
--- a/yang/frr-zebra.yang
+++ b/yang/frr-zebra.yang
@@ -81,6 +81,11 @@ module frr-zebra {
"Initial revision.";
}
+ feature ipv6-router-advertisements {
+ description
+ "Support for IPv6 Router Advertisements.";
+ }
+
feature ptm-bfd {
description
"Using an external PTM daemon that implements BFD.";
@@ -2270,6 +2275,7 @@ module frr-zebra {
}
}
container ipv6-router-advertisements {
+ if-feature "ipv6-router-advertisements";
description
"Support for IPv6 Router Advertisements.";
leaf send-advertisements {