]> git.proxmox.com Git - mirror_frr.git/blobdiff - bgpd/bgp_flowspec.c
Merge pull request #11903 from sri-mohan1/sri-bfd-dbg1
[mirror_frr.git] / bgpd / bgp_flowspec.c
index de3f2a9d4702a650973128fe822227e0d3900568..39c0cfe5147ba528e40c4f9c78f092fc0a0a89ba 100644 (file)
@@ -121,7 +121,7 @@ int bgp_nlri_parse_flowspec(struct peer *peer, struct attr *attr,
 
        for (; pnt < lim; pnt += psize) {
                /* Clear prefix structure. */
-               memset(&p, 0, sizeof(struct prefix));
+               memset(&p, 0, sizeof(p));
 
                /* All FlowSpec NLRI begin with length. */
                if (pnt + 1 > lim)