]> git.proxmox.com Git - mirror_frr.git/commit - lib/command.c
lib/vtysh: fix duplicate installation of some vty commands
authorRenato Westphal <renato@opensourcerouting.org>
Wed, 12 Oct 2016 15:39:02 +0000 (12:39 -0300)
committerDonald Sharp <sharpd@cumulusnetworks.com>
Wed, 12 Oct 2016 23:33:56 +0000 (19:33 -0400)
commit6694f68c3f641fc96ff844ec344a3e8f01998fa8
tree3672e4bd7b679043cf320ef565000b2931cc710e
parent039eaca36717fb9bfe415cc47b4d36848c54b51f
lib/vtysh: fix duplicate installation of some vty commands

This is a followup to commits 735e62 and 0b1442, where we forgot to apply
the same VIEW/ENABLE consolidation logic to vtysh. Also, we can't call
install_default() for the ENABLE node because some of the vty commands
installed by this function were already installed in the VIEW node before.

Signed-off-by: Renato Westphal <renato@opensourcerouting.org>
lib/command.c
vtysh/vtysh.c