diff options
Diffstat (limited to 'bgpd/bgp_flowspec.c')
| -rw-r--r-- | bgpd/bgp_flowspec.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bgpd/bgp_flowspec.c b/bgpd/bgp_flowspec.c index de3f2a9d47..39c0cfe514 100644 --- a/bgpd/bgp_flowspec.c +++ b/bgpd/bgp_flowspec.c @@ -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) |
