mirror_frr/vtysh
Quentin Young 16d6ea59d3
lib, vtysh: vrf walkup bugfix
Static route commands are now installed inside the VRF nodes. This has
quietly broken top-level static routes in certain scenarios due to
walkup logic resolving a static route configuration command inside
VRF_NODE first if the command is issued while in a CLI node lower than
VRF_NODE. To fix this VRF_NODE needs a special exit command, as has been
done for many other nodes with the same issue, to explicitly change the
vrf context to the default VRF so that when walkup resolves against the
VRF node it will configure against the default VRF as desired.

Of course this is a hack on top of a hack and the CLI walkup
implementation needs to be rewritten.

Signed-off-by: Quentin Young <qlyoung@cumulusnetworks.com>
2018-03-30 13:14:34 -04:00
..
.gitignore [administrivia] Git should ignore backup files and .loT files 2008-08-22 20:00:46 +01:00
extract.pl.in vtysh: pass route-map & prefix-list commands to isisd and sharpd 2018-02-27 15:34:21 +01:00
Makefile.am vtysh: change logical router node name 2018-02-27 11:11:24 +01:00
vtysh_config.c *: use C99 standard fixed-width integer types 2018-03-27 15:13:34 -04:00
vtysh_main.c *: conform with COMMUNITY.md formatting rules, via 'make indent' 2018-03-06 14:04:32 -05:00
vtysh_user.c *: use C99 standard fixed-width integer types 2018-03-27 15:13:34 -04:00
vtysh_user.h *: reindent 2017-07-17 14:04:07 +02:00
vtysh.c lib, vtysh: vrf walkup bugfix 2018-03-30 13:14:34 -04:00
vtysh.conf.sample * vtysh.conf.sample: Fix typo "integrated-vtysh-conf" -> 2005-01-23 19:24:46 +00:00
vtysh.h *: conform with COMMUNITY.md formatting rules, via 'make indent' 2018-03-06 14:04:32 -05:00