diff options
author | Quentin Young <qlyoung@cumulusnetworks.com> | 2017-06-27 19:42:43 +0200 |
---|---|---|
committer | Quentin Young <qlyoung@cumulusnetworks.com> | 2017-06-27 19:46:42 +0200 |
commit | 55f91488121370cbfe9ccb610d91c28192b69923 (patch) | |
tree | e7183742368b95b6b986ff06fd4d96f96f93a89e /bgpd/bgp_vty.h | |
parent | bgpd: more cli-ening (diff) | |
download | frr-55f91488121370cbfe9ccb610d91c28192b69923.tar.xz frr-55f91488121370cbfe9ccb610d91c28192b69923.zip |
bgpd: argv->arg grab bag
* Pass ->text to functions that now do full string matching
* Remove cases for l2vpn and evpn where they cannot occur
Signed-off-by: Quentin Young <qlyoung@cumulusnetworks.com>
Diffstat (limited to 'bgpd/bgp_vty.h')
-rw-r--r-- | bgpd/bgp_vty.h | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/bgpd/bgp_vty.h b/bgpd/bgp_vty.h index 1bb9cfb71..fcef4ccc0 100644 --- a/bgpd/bgp_vty.h +++ b/bgpd/bgp_vty.h @@ -48,14 +48,11 @@ extern int bgp_vty_return (struct vty *vty, int ret); extern struct peer * peer_and_group_lookup_vty (struct vty *vty, const char *peer_str); -extern int -bgp_parse_afi(const char *str, afi_t *afi); - extern afi_t -bgp_vty_afi_from_arg(const char *afi_str); +bgp_vty_afi_from_str(const char *afi_str); extern safi_t -bgp_vty_safi_from_arg(const char *safi_str); +bgp_vty_safi_from_str(const char *safi_str); extern int argv_find_and_parse_afi(struct cmd_token **argv, int argc, int *index, afi_t *afi); |