diff options
| author | Donald Sharp <donaldsharp72@gmail.com> | 2022-05-13 07:40:58 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-05-13 07:40:58 -0400 |
| commit | f205a2309c7dc961216417fb49b4639892b219be (patch) | |
| tree | 9a9839c3e141e990c96c43a1788ce9c6d95ea84b /ospf6d/ospf6_zebra.c | |
| parent | 69df174216b5829d3075765e0dba30d16f20e25c (diff) | |
| parent | 6006b807b1a84d31611173b837fafcd96ba9d692 (diff) | |
Merge pull request #11177 from opensourcerouting/fix/memset_memcpy
*: memcpy/memset zeroing
Diffstat (limited to 'ospf6d/ospf6_zebra.c')
| -rw-r--r-- | ospf6d/ospf6_zebra.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ospf6d/ospf6_zebra.c b/ospf6d/ospf6_zebra.c index 18b1959b9b..8366716585 100644 --- a/ospf6d/ospf6_zebra.c +++ b/ospf6d/ospf6_zebra.c @@ -241,7 +241,7 @@ static int ospf6_zebra_gr_update(struct ospf6 *ospf6, int command, if (!zclient || zclient->sock < 0 || !ospf6) return 1; - memset(&api, 0, sizeof(struct zapi_cap)); + memset(&api, 0, sizeof(api)); api.cap = command; api.stale_removal_time = stale_time; api.vrf_id = ospf6->vrf_id; |
