Skip to content

Commit

Permalink
bgpd: Add missing group-override for peer flags FRRouting#2
Browse files Browse the repository at this point in the history
W.I.P.
  • Loading branch information
ppmathis committed Jun 14, 2018
1 parent 5f6bf42 commit bbe87f5
Show file tree
Hide file tree
Showing 4 changed files with 254 additions and 132 deletions.
11 changes: 8 additions & 3 deletions bgpd/bgp_vty.c
Original file line number Diff line number Diff line change
Expand Up @@ -4655,12 +4655,11 @@ DEFUN (neighbor_description,

DEFUN (no_neighbor_description,
no_neighbor_description_cmd,
"no neighbor <A.B.C.D|X:X::X:X|WORD> description [LINE]",
"no neighbor <A.B.C.D|X:X::X:X|WORD> description",
NO_STR
NEIGHBOR_STR
NEIGHBOR_ADDR_STR2
"Neighbor specific description\n"
"Up to 80 characters describing this neighbor\n")
"Neighbor specific description\n")
{
int idx_peer = 2;
struct peer *peer;
Expand All @@ -4674,6 +4673,11 @@ DEFUN (no_neighbor_description,
return CMD_SUCCESS;
}

ALIAS(no_neighbor_description, no_neighbor_description_comment_cmd,
"no neighbor <A.B.C.D|X:X::X:X|WORD> description LINE...",
NO_STR NEIGHBOR_STR NEIGHBOR_ADDR_STR2
"Neighbor specific description\n"
"Up to 80 characters describing this neighbor\n")

/* Neighbor update-source. */
static int peer_update_source_vty(struct vty *vty, const char *peer_str,
Expand Down Expand Up @@ -13035,6 +13039,7 @@ void bgp_vty_init(void)
/* "neighbor description" commands. */
install_element(BGP_NODE, &neighbor_description_cmd);
install_element(BGP_NODE, &no_neighbor_description_cmd);
install_element(BGP_NODE, &no_neighbor_description_comment_cmd);

/* "neighbor update-source" commands. "*/
install_element(BGP_NODE, &neighbor_update_source_cmd);
Expand Down
Loading

0 comments on commit bbe87f5

Please sign in to comment.