summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorQuentin Young <qlyoung@users.noreply.github.com>2020-07-14 17:52:47 +0200
committerGitHub <noreply@github.com>2020-07-14 17:52:47 +0200
commit1f30402b929bd2716221d090702a8e26208df27e (patch)
tree945d8830742fdfcc3a83b3c8980c48671f44c9ba /lib
parentMerge pull request #6718 from opensourcerouting/bfd-profile-small-fix (diff)
parentbgpd: change rtr_is_ integer to bool format (diff)
downloadfrr-1f30402b929bd2716221d090702a8e26208df27e.tar.xz
frr-1f30402b929bd2716221d090702a8e26208df27e.zip
Merge pull request #5015 from pguibert6WIND/rpki_vrf_encapsulation
Rpki Encapsulation
Diffstat (limited to 'lib')
-rw-r--r--lib/command.c3
-rw-r--r--lib/command.h1
2 files changed, 4 insertions, 0 deletions
diff --git a/lib/command.c b/lib/command.c
index 80b75d9b2..fc43cce18 100644
--- a/lib/command.c
+++ b/lib/command.c
@@ -841,6 +841,9 @@ enum node_type node_parent(enum node_type node)
case BFD_PROFILE_NODE:
ret = BFD_NODE;
break;
+ case RPKI_VRF_NODE:
+ ret = VRF_NODE;
+ break;
default:
ret = CONFIG_NODE;
break;
diff --git a/lib/command.h b/lib/command.h
index 21bb61354..9e0fc783c 100644
--- a/lib/command.h
+++ b/lib/command.h
@@ -159,6 +159,7 @@ enum node_type {
OPENFABRIC_NODE, /* OpenFabric router configuration node */
VRRP_NODE, /* VRRP node */
BMP_NODE, /* BMP config under router bgp */
+ RPKI_VRF_NODE, /* RPKI node for VRF */
NODE_TYPE_MAX, /* maximum */
};