Merge pull request #1757 from dwalton76/bgpd-remove-peer-in-peergroup

bgpd: "no neighbor 10.13.0.12 peer-group ibgp" does not remove peer
This commit is contained in:
Russ White 2018-02-20 07:01:17 -05:00 committed by GitHub
commit c30895ac3e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -3395,7 +3395,7 @@ DEFUN (no_neighbor_set_peer_group,
return CMD_WARNING_CONFIG_FAILED;
}
ret = peer_group_unbind(bgp, peer, group);
ret = peer_delete(peer);
return bgp_vty_return(vty, ret);
}