]> git.proxmox.com Git - mirror_frr.git/commit
lib: add vector_compact(), use after str splits
authorQuentin Young <qlyoung@cumulusnetworks.com>
Tue, 29 May 2018 21:38:18 +0000 (21:38 +0000)
committerQuentin Young <qlyoung@cumulusnetworks.com>
Wed, 6 Jun 2018 16:16:12 +0000 (16:16 +0000)
commitf428cb8a3a9cef3a1f68be6434f8db6fa9b693ef
treea9c9d4c739f9f9e8aa427e3e252c5a892513382c
parent5d806ec6e0bce5f1cd32b0d5386c1ad97c31c1f8
lib: add vector_compact(), use after str splits

* Add function to move all data to the start of a vector by shifting
  over contiguous empty slots
* Use this function to remove empty slots leftover after
  frrstr_filter_vec

Signed-off-by: Quentin Young <qlyoung@cumulusnetworks.com>
lib/command.c
lib/vector.c
lib/vector.h
lib/vty.c