commit | 464ccf36b4aa1b942cad413ea30267b4bf9e6315 | [log] [tgz] |
---|---|---|
author | David Lamparter <equinox@opensourcerouting.org> | Tue May 12 21:56:18 2015 +0200 |
committer | David Lamparter <equinox@opensourcerouting.org> | Wed May 27 20:34:41 2015 +0200 |
tree | 1d0a46df5f2b00e5a4cfe81e0fcce5d94ee4abab | |
parent | ba53a8fdecef07577dcc4109e5c82bb124d49c58 [diff] |
lib/vty: add vty_stdio at-close hook This is intended to be used for either "exit on close", "fork on close" or "reopen vty on close" functionality for the stdio vty. Which of these options to take depends on the context, the use case right now is test programs exiting on EOF. Signed-off-by: David Lamparter <equinox@opensourcerouting.org>