diff options
author | Daniel Walton <dwalton@cumulusnetworks.com> | 2017-06-30 16:24:58 +0200 |
---|---|---|
committer | Daniel Walton <dwalton@cumulusnetworks.com> | 2017-06-30 16:24:58 +0200 |
commit | ab782c96f881b1fdd59f52ba972cd82b5eeadc66 (patch) | |
tree | 48d4917f3fce36bac4a6f47d503e1113d76f6258 /vtysh | |
parent | bgpd: Make SAFI-1 and SAFI-4 use the same table (diff) | |
download | frr-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.c | 7 |
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)) { |