]> git.puffer.fish Git - matthieu/frr.git/commit
lib: replace begins_with, add frrstr_endswith
authorQuentin Young <qlyoung@cumulusnetworks.com>
Sat, 18 May 2019 01:35:38 +0000 (01:35 +0000)
committerQuentin Young <qlyoung@cumulusnetworks.com>
Thu, 23 May 2019 20:52:01 +0000 (20:52 +0000)
commit90cf59eccfd41846fc0fa03a6d5a010a91b46b86
tree870aca85c70e3d73dd2cca8162be4ac301e22ff5
parent528628cb2ea4f5a522bf1f6d5b702bb188c4e30e
lib: replace begins_with, add frrstr_endswith

* Change 'begins_with' to 'frrstr_startswith' for consistency
* Add suffix checker, frrstr_endswith()
* Update vtysh to use the new function

Signed-off-by: Quentin Young <qlyoung@cumulusnetworks.com>
lib/frrstr.c
lib/frrstr.h
vtysh/vtysh.c