summaryrefslogtreecommitdiffstats
path: root/vtysh
diff options
context:
space:
mode:
authorDaniel Walton <dwalton@cumulusnetworks.com>2017-06-30 16:24:58 +0200
committerDaniel Walton <dwalton@cumulusnetworks.com>2017-06-30 16:24:58 +0200
commitab782c96f881b1fdd59f52ba972cd82b5eeadc66 (patch)
tree48d4917f3fce36bac4a6f47d503e1113d76f6258 /vtysh
parentbgpd: Make SAFI-1 and SAFI-4 use the same table (diff)
downloadfrr-ab782c96f881b1fdd59f52ba972cd82b5eeadc66.tar.xz
frr-ab782c96f881b1fdd59f52ba972cd82b5eeadc66.zip
bgpd: Make SAFI-1 and SAFI-4 use the same table
Signed-off-by: Daniel Walton <dwalton@cumulusnetworks.com>
Diffstat (limited to 'vtysh')
-rw-r--r--vtysh/vtysh.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/vtysh/vtysh.c b/vtysh/vtysh.c
index 76c7702fa..5e20a26c5 100644
--- a/vtysh/vtysh.c
+++ b/vtysh/vtysh.c
@@ -564,9 +564,10 @@ vtysh_mark_file (const char *filename)
* to move into node in the vtysh where it succeeded. */
if (ret == CMD_SUCCESS || ret == CMD_SUCCESS_DAEMON || ret == CMD_WARNING)
{
- if ((prev_node == BGP_VPNV4_NODE || prev_node == BGP_IPV4_NODE
- || prev_node == BGP_IPV6_NODE || prev_node == BGP_IPV4M_NODE
- || prev_node == BGP_IPV6M_NODE || prev_node == BGP_VPNV6_NODE
+ if ((prev_node == BGP_VPNV4_NODE || prev_node == BGP_VPNV6_NODE
+ || prev_node == BGP_IPV4_NODE || prev_node == BGP_IPV6_NODE
+ || prev_node == BGP_IPV4L_NODE || prev_node == BGP_IPV6L_NODE
+ || prev_node == BGP_IPV4M_NODE || prev_node == BGP_IPV6M_NODE
|| prev_node == BGP_EVPN_NODE)
&& (tried == 1))
{