]> git.puffer.fish Git - matthieu/frr.git/commit
vtysh: handle case if there is no match in "write terminal $daemon"
authorChristian Franke <nobody@nowhere.ws>
Tue, 14 Jun 2016 18:07:09 +0000 (20:07 +0200)
committerDonald Sharp <sharpd@cumulusnetworks.com>
Fri, 21 Oct 2016 00:28:26 +0000 (20:28 -0400)
commitce01a2ca3f4501b75e55fe325c150eb9c2ae329d
tree83354527a0bb7d2f8dea8eabd2632c27276b09d0
parent58093a791767e5c1e412a6d3fcbe6927f4ffda0b
vtysh: handle case if there is no match in "write terminal $daemon"

While the DEFUN should match the list of clients registered in
vtysh, it seems better to handle the case explicitly instead of
relying on the client list and the DEFUN signature being in sync.

Signed-off-by: Christian Franke <chris@opensourcerouting.org>
Signed-off-by: Christian Franke <chris@opensourcerouting.org>
Acked-by: Donald Sharp <sharpd@cumulusnetworks.com>
vtysh/vtysh.c