diff options
author | Chris Hall <chris.hall@highwayman.com> | 2011-03-30 12:22:34 +0100 |
---|---|---|
committer | Chris Hall <chris.hall@highwayman.com> | 2011-03-30 12:22:34 +0100 |
commit | f3255d1e9f062e7783b05ab5b32ca70085170d79 (patch) | |
tree | 2545e94650e88237baf6c0e04758f00e87dc335a /lib/vty_command.c | |
parent | 9c99076cf33bfa874db34151e28822f0e392ab3a (diff) | |
download | quagga-f3255d1e9f062e7783b05ab5b32ca70085170d79.tar.bz2 quagga-f3255d1e9f062e7783b05ab5b32ca70085170d79.tar.xz |
Better mechanism for handling depth_mark in vty->vio.
Previous mechanism required special steps before any new output vty
was opened -- which was easy to forget. New mechanism requires
extra step when input and output are opened at the same time, which
is less common, and more obviously requires the extra step.
Fixes problem with "write memory" command.
Diffstat (limited to 'lib/vty_command.c')
-rw-r--r-- | lib/vty_command.c | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/lib/vty_command.c b/lib/vty_command.c index 94ba6833..a63f6f0c 100644 --- a/lib/vty_command.c +++ b/lib/vty_command.c @@ -1155,15 +1155,6 @@ vty_cmd_reflect_line(vty vty) } ; /*------------------------------------------------------------------------------ - * Set the vio->depth_mark -- about to push vin and/or vout - */ -extern void -uty_cmd_depth_mark(vty_io vio) -{ - vio->depth_mark = vio->vin_depth ; -} - -/*------------------------------------------------------------------------------ * Open the given file as an in pipe, if possible. * * Puts error messages to vty if fails. |