diff options
author | Donald Sharp <donaldsharp72@gmail.com> | 2022-05-13 13:40:58 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-05-13 13:40:58 +0200 |
commit | f205a2309c7dc961216417fb49b4639892b219be (patch) | |
tree | 9a9839c3e141e990c96c43a1788ce9c6d95ea84b /bgpd/bgp_evpn_vty.c | |
parent | Merge pull request #11188 from opensourcerouting/fix/argv_find (diff) | |
parent | *: Properly use memset() when zeroing (diff) | |
download | frr-f205a2309c7dc961216417fb49b4639892b219be.tar.xz frr-f205a2309c7dc961216417fb49b4639892b219be.zip |
Merge pull request #11177 from opensourcerouting/fix/memset_memcpy
*: memcpy/memset zeroing
Diffstat (limited to 'bgpd/bgp_evpn_vty.c')
-rw-r--r-- | bgpd/bgp_evpn_vty.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bgpd/bgp_evpn_vty.c b/bgpd/bgp_evpn_vty.c index 73568074d..e40583b55 100644 --- a/bgpd/bgp_evpn_vty.c +++ b/bgpd/bgp_evpn_vty.c @@ -2362,7 +2362,7 @@ static void evpn_show_routes_vni_all(struct vty *vty, struct bgp *bgp, num_vnis = hashcount(bgp->vnihash); if (!num_vnis) return; - memset(&wctx, 0, sizeof(struct vni_walk_ctx)); + memset(&wctx, 0, sizeof(wctx)); wctx.bgp = bgp; wctx.vty = vty; wctx.vtep_ip = vtep_ip; |