]> git.proxmox.com Git - mirror_frr.git/commit
lib: fix vty_out with >1024 bytes of output
authorDavid Lamparter <equinox@opensourcerouting.org>
Thu, 6 Jul 2017 14:55:33 +0000 (16:55 +0200)
committerDavid Lamparter <equinox@opensourcerouting.org>
Thu, 6 Jul 2017 15:35:25 +0000 (17:35 +0200)
commitecf3d1b9d5ff9bf11a9e79a8e4efb63eff4eb10e
tree4f0650a49a93ad7dc10be8726e47729b3aa19ad0
parentca03eeeec736120e47fdc63bcb2ef1ad55be40b1
lib: fix vty_out with >1024 bytes of output

Consuming va_args modifies its internal bits, hence the need to copy
it... but the copying wasn't quite right just yet.

Fixes: 4d5f445 ("lib: add vty_outln()")
Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
lib/vty.c