]> git.proxmox.com Git - mirror_frr.git/commit - lib/vty.c
lib: add vty_frame() to get rid of unneeded config
authorDavid Lamparter <equinox@diac24.net>
Fri, 5 Feb 2010 08:48:45 +0000 (09:48 +0100)
committerDavid Lamparter <equinox@opensourcerouting.org>
Tue, 29 Aug 2017 06:36:00 +0000 (08:36 +0200)
commit2071aa0ebbc5701e9b53621f93656c10cb48061b
tree7436a59c5f7249aa00b769fbc849bd129ac86886
parent8bd33a03b514d10777ad292f0957cb01d5b9f1a5
lib: add vty_frame() to get rid of unneeded config

vty_frame() can be used to reduce the amount of output produced by "show
running-config" and "write ...".  It buffers output in struct vty->frame
(1024 bytes) and outputs it when vty_out is called.  If vty_out isn't
called, it can be removed with vty_endframe() later.

Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
lib/vty.c
lib/vty.h