]> git.puffer.fish Git - matthieu/frr.git/commitdiff
bgpd: enable evpn & mpls safis for fuzzing
authorQuentin Young <qlyoung@cumulusnetworks.com>
Wed, 13 May 2020 23:17:21 +0000 (19:17 -0400)
committerQuentin Young <qlyoung@nvidia.com>
Mon, 15 Nov 2021 22:12:33 +0000 (17:12 -0500)
Allow the fuzzer to get into some more exotic safis

Signed-off-by: Quentin Young <qlyoung@cumulusnetworks.com>
bgpd/bgp_main.c

index c0b48b77a010d6e59ca3dae81785390f86ae6eb5..1805e2da783d11bcb2260ae7f0c3085a380a9f22 100644 (file)
@@ -464,6 +464,9 @@ static struct peer *FuzzingCreatePeer(int state)
                SET_FLAG(p->af_cap[afi][safi], 0x3FFF);
        }
 
+       peer_activate(p, AFI_L2VPN, SAFI_EVPN);
+       peer_activate(p, AFI_IP, SAFI_MPLS_VPN);
+
        return p;
 }