summaryrefslogtreecommitdiff
path: root/lib/command.c
diff options
context:
space:
mode:
authorQuentin Young <qlyoung@cumulusnetworks.com>2018-03-29 22:13:57 -0400
committerQuentin Young <qlyoung@cumulusnetworks.com>2018-03-30 13:14:34 -0400
commit16d6ea59d3d738cceeaabe6a2df5afad4b515b00 (patch)
tree32c34cfff3df175a65686f8b69340d4a401c35ea /lib/command.c
parent465cd0eb941d45dc125c5e843df965f8a387868e (diff)
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>
Diffstat (limited to 'lib/command.c')
0 files changed, 0 insertions, 0 deletions