summaryrefslogtreecommitdiffstats
path: root/lib/zebra.h
diff options
context:
space:
mode:
authorDon Slice <dslice@cumulusnetworks.com>2019-08-12 21:02:39 +0200
committerDon Slice <dslice@cumulusnetworks.com>2019-08-20 15:50:58 +0200
commitdc91261567a46848eb9f3634cecce4fe1c08e0a2 (patch)
tree496716e62dcface781793a908c6206bd718046f4 /lib/zebra.h
parentMerge pull request #4848 from donaldsharp/spelling_errors (diff)
downloadfrr-dc91261567a46848eb9f3634cecce4fe1c08e0a2.tar.xz
frr-dc91261567a46848eb9f3634cecce4fe1c08e0a2.zip
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>
Diffstat (limited to '')
-rw-r--r--lib/zebra.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/zebra.h b/lib/zebra.h
index 352887eca..789a93a3c 100644
--- a/lib/zebra.h
+++ b/lib/zebra.h
@@ -360,6 +360,7 @@ typedef enum {
/* Subsequent Address Family Identifier. */
typedef enum {
+ SAFI_UNSPEC = 0,
SAFI_UNICAST = 1,
SAFI_MULTICAST = 2,
SAFI_MPLS_VPN = 3,