]> git.puffer.fish Git - mirror/frr.git/commit
bgpd, yang: fix missing mandatory/default statements on some leafs 15426/head
authorIgor Ryzhov <iryzhov@nfware.com>
Sun, 25 Feb 2024 19:50:41 +0000 (21:50 +0200)
committerIgor Ryzhov <iryzhov@nfware.com>
Sun, 25 Feb 2024 23:03:27 +0000 (01:03 +0200)
commit83a3b0f10f994ee5adbbef0f6bd970b69eab4486
tree4f1d05127fecaca9acd338e52972c32e35427362
parent2aa6a67ec30824cd66119b4c0b8b7aea416ed5a6
bgpd, yang: fix missing mandatory/default statements on some leafs

The code expects these leafs to always exist. If they are not set, the
daemon would crash. CLI always sets them, but we should properly mark
them as mandatory/default to prevent them from being missed when using
the API.

Signed-off-by: Igor Ryzhov <iryzhov@nfware.com>
bgpd/bgp_routemap_nb.c
bgpd/bgp_routemap_nb.h
bgpd/bgp_routemap_nb_config.c
yang/frr-bgp-route-map.yang