]> git.puffer.fish Git - mirror/frr.git/commit
lib: allow 'do' commands in ENABLE_NODE 718/head
authorQuentin Young <qlyoung@cumulusnetworks.com>
Wed, 14 Jun 2017 19:47:14 +0000 (19:47 +0000)
committerQuentin Young <qlyoung@cumulusnetworks.com>
Fri, 16 Jun 2017 14:46:08 +0000 (14:46 +0000)
commitb170d66a78b585dccf1e800f9c8e11575d5053ff
tree47f619cae3e72f0db5099820d59a24b5a43abe5a
parent645bb0b10e8144a2b40201e4da6e200d5663b886
lib: allow 'do' commands in ENABLE_NODE

'do' is syntax sugar that allows the user to execute a command under
ENABLE_NODE when in another CLI node. If the user is already in
ENABLE_NODE, use of 'do' was previously disallowed. This patch allows it
because it makes it easier for us to hack around certain instances of
the node synchronization problem with vtysh.

Also included is a fix for one of these problems.

Signed-off-by: Quentin Young <qlyoung@cumulusnetworks.com>
lib/command.c
vtysh/vtysh.c