Skip to content

Commit

Permalink
Updated log message to include peer-group name
Browse files Browse the repository at this point in the history
Signed-off-by: Pooja Rathore <poojarathore.nks@gmail.com>
  • Loading branch information
poojarathore30 committed Apr 15, 2024
1 parent 032de39 commit 19f7b3a
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions bgpd/bgp_vty.c
Expand Up @@ -5202,8 +5202,7 @@ DEFUN (no_neighbor_peer_group,
for (afi = AFI_IP; afi < AFI_MAX; afi++) {
int lr_count = listcount(group->listen_range[afi]);
if (lr_count) {
vty_out(vty, "%% Cannot delete peer-group. Currently attached to %d listen-range(s). Delete listen-range(s) first\n",
lr_count);
vty_out(vty, "%%Peer-group %s is attached to %d listen-range(s), delete them first\n", group->name, lr_count);
return CMD_WARNING_CONFIG_FAILED;
}
}
Expand Down

0 comments on commit 19f7b3a

Please sign in to comment.