]> git.puffer.fish Git - mirror/frr.git/commit
vtysh: fix oversight in vtysh buffer rewrite
authorDavid Lamparter <equinox@opensourcerouting.org>
Wed, 19 Oct 2016 12:38:48 +0000 (14:38 +0200)
committerDonald Sharp <sharpd@cumulusnetworks.com>
Thu, 20 Oct 2016 02:28:45 +0000 (22:28 -0400)
commit2d35a720b9f997d08dd3da5441fc7ce889135a05
treee1a1ee1a5e177dc98786689244dfb82489e46a77
parent41246cb61418102f9f3bfa3e0acfce90c7798e67
vtysh: fix oversight in vtysh buffer rewrite

end can be NULL and shouldn't be adjusted in that case.

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