]> git.puffer.fish Git - matthieu/frr.git/commit
*: add ->node_exit to struct cmd_node
authorDavid Lamparter <equinox@opensourcerouting.org>
Sat, 8 Sep 2018 22:03:19 +0000 (00:03 +0200)
committerDavid Lamparter <equinox@diac24.net>
Thu, 16 Apr 2020 10:54:03 +0000 (12:54 +0200)
commit791ded4a62b86d3e05d28e70864ee2723d91bc69
tree6ee63e5d866dc790ffccbf6648f8a605eb3ebae4
parent893d8beb4d1ae92b7c3290aad163e65aa0675a5c
*: add ->node_exit to struct cmd_node

Rather than doing a f*gly hack for the RPKI code, let's do an on-exit
hook in cmd_node.  Also allows replacing some special-casing in the vty
code.

Signed-off-by: David Lamparter <equinox@diac24.net>
bgpd/bgp_rpki.c
lib/command.c
lib/command.h
lib/vty.c
lib/vty.h