]> git.puffer.fish Git - mirror/frr.git/commit
bgpd: make clear bgp * clear all peers in all afi/safis 4857/head
authorDon Slice <dslice@cumulusnetworks.com>
Mon, 12 Aug 2019 19:02:39 +0000 (19:02 +0000)
committerDon Slice <dslice@cumulusnetworks.com>
Tue, 20 Aug 2019 13:50:58 +0000 (13:50 +0000)
commitdc91261567a46848eb9f3634cecce4fe1c08e0a2
tree496716e62dcface781793a908c6206bd718046f4
parent8d3c0d341aa5455bb81b2c4c4e0ee5565854a52d
bgpd: make clear bgp * clear all peers in all afi/safis

Problem reported that "clear bgp *" only cleared ipv6 peers.
Changed the logic to clear all afi/safis of all peers in
that case.  Also improved the operation of clearing
individual afi/safi using soft/in/out to do the right thing.

Ticket: CM-25887
Signed-off-by: Don Slice <dslice@cumulusnetworks.com>
bgpd/bgp_vty.c
doc/user/bgp.rst
lib/zebra.h