mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-15 11:15:47 +00:00
bgpd: Removed unused COMMUNITY_LIST_ERR_CANT_FIND_LIST
Removed the unused COMMUNITY_LIST_ERR_CANT_FIND_LIST Ticket:#3900813 Testing Done: precommit Signed-off-by: Pooja Jagadeesh Doijode <pdoijode@nvidia.com>
This commit is contained in:
parent
773a45ef29
commit
a7c3317aba
@ -109,11 +109,9 @@ struct community_list_handler {
|
|||||||
};
|
};
|
||||||
|
|
||||||
/* Error code of community-list. */
|
/* Error code of community-list. */
|
||||||
#define COMMUNITY_LIST_ERR_CANT_FIND_LIST -1
|
#define COMMUNITY_LIST_ERR_MALFORMED_VAL -1
|
||||||
#define COMMUNITY_LIST_ERR_MALFORMED_VAL -2
|
#define COMMUNITY_LIST_ERR_STANDARD_CONFLICT -2
|
||||||
#define COMMUNITY_LIST_ERR_STANDARD_CONFLICT -3
|
#define COMMUNITY_LIST_ERR_EXPANDED_CONFLICT -3
|
||||||
#define COMMUNITY_LIST_ERR_EXPANDED_CONFLICT -4
|
|
||||||
|
|
||||||
/* Handler. */
|
/* Handler. */
|
||||||
extern struct community_list_handler *bgp_clist;
|
extern struct community_list_handler *bgp_clist;
|
||||||
|
|
||||||
|
@ -21715,9 +21715,6 @@ static const char *community_direct_str(int direct)
|
|||||||
static void community_list_perror(struct vty *vty, int ret)
|
static void community_list_perror(struct vty *vty, int ret)
|
||||||
{
|
{
|
||||||
switch (ret) {
|
switch (ret) {
|
||||||
case COMMUNITY_LIST_ERR_CANT_FIND_LIST:
|
|
||||||
vty_out(vty, "%% Can't find community-list\n");
|
|
||||||
break;
|
|
||||||
case COMMUNITY_LIST_ERR_MALFORMED_VAL:
|
case COMMUNITY_LIST_ERR_MALFORMED_VAL:
|
||||||
vty_out(vty, "%% Malformed community-list value\n");
|
vty_out(vty, "%% Malformed community-list value\n");
|
||||||
break;
|
break;
|
||||||
|
Loading…
Reference in New Issue
Block a user