summaryrefslogtreecommitdiff
path: root/zebra/zebra_nb.c
diff options
context:
space:
mode:
authorDonna Sharp <dksharp5@gmail.com>2025-02-24 16:30:07 -0500
committerDonna Sharp <dksharp5@gmail.com>2025-03-01 14:45:18 -0500
commit9a073f663f800e46ca654b8841892f49f3989bbd (patch)
tree784afd45dac3ec39878730e9d989f9b427477db9 /zebra/zebra_nb.c
parent453154497e0944e8bfbc7cdcc62931bcfa0d8b0c (diff)
zebra: allow retrieval of ipv6 forwarding state
Allow the retrieval of ipv6 forwarding state from within the yang framework as that it was missing. Signed-off-by: Donna Sharp <dksharp5@gmail.com>
Diffstat (limited to 'zebra/zebra_nb.c')
-rw-r--r--zebra/zebra_nb.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/zebra/zebra_nb.c b/zebra/zebra_nb.c
index 83d89fa7b7..f45ce03956 100644
--- a/zebra/zebra_nb.c
+++ b/zebra/zebra_nb.c
@@ -52,6 +52,12 @@ const struct frr_yang_module_info frr_zebra_info = {
}
},
{
+ .xpath = "/frr-zebra:zebra/state/ipv6-forwarding",
+ .cbs = {
+ .get_elem = zebra_ipv6_forwarding_get_elem,
+ }
+ },
+ {
.xpath = "/frr-zebra:zebra/workqueue-hold-timer",
.cbs = {
.modify = zebra_workqueue_hold_timer_modify,