summaryrefslogtreecommitdiff
path: root/lib/command.c
diff options
context:
space:
mode:
authorRuss White <russ@riw.us>2018-04-11 09:06:45 -0400
committerGitHub <noreply@github.com>2018-04-11 09:06:45 -0400
commit058054cac19695fdfebf9c172686dd7ae27a9e0e (patch)
tree0cc94acf9f5f3a9efe862fcef20851f189eee0c1 /lib/command.c
parentfb22abc60a1b57b82c382c4bb473c64dc7448b7a (diff)
parent49027ce8568ca773b0fc441e4abbf71d0d605c2c (diff)
Merge pull request #1903 from donaldsharp/PBRD
Pbrd
Diffstat (limited to 'lib/command.c')
-rw-r--r--lib/command.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/command.c b/lib/command.c
index f244d67e86..2bff3b17a2 100644
--- a/lib/command.c
+++ b/lib/command.c
@@ -105,6 +105,7 @@ const char *node_names[] = {
"as list", // AS_LIST_NODE,
"community list", // COMMUNITY_LIST_NODE,
"routemap", // RMAP_NODE,
+ "pbr-map", // PBRMAP_NODE,
"smux", // SMUX_NODE,
"dump", // DUMP_NODE,
"forwarding", // FORWARDING_NODE,
@@ -1312,6 +1313,7 @@ void cmd_exit(struct vty *vty)
case ISIS_NODE:
case KEYCHAIN_NODE:
case RMAP_NODE:
+ case PBRMAP_NODE:
case VTY_NODE:
vty->node = CONFIG_NODE;
break;
@@ -1409,6 +1411,7 @@ DEFUN (config_end,
case BGP_EVPN_VNI_NODE:
case BGP_IPV6L_NODE:
case RMAP_NODE:
+ case PBRMAP_NODE:
case OSPF_NODE:
case OSPF6_NODE:
case LDP_NODE: