summaryrefslogtreecommitdiff
path: root/zebra/zapi_msg.c
diff options
context:
space:
mode:
authorRuss White <russ@riw.us>2021-02-02 07:30:06 -0500
committerGitHub <noreply@github.com>2021-02-02 07:30:06 -0500
commita67b8731d27a7ebc8fd55122a8a919a07d39346d (patch)
treea39a5c572f69de39cf5d74c0b4dc3f27e90bfad6 /zebra/zapi_msg.c
parent8adc13a85495a0bdc2168719bb56548561d27c75 (diff)
parenta013777abc919c6287b2c467aca11ae6e97e9efe (diff)
Merge pull request #7991 from donaldsharp/valgrind_cleanups1
Valgrind cleanups
Diffstat (limited to 'zebra/zapi_msg.c')
-rw-r--r--zebra/zapi_msg.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/zebra/zapi_msg.c b/zebra/zapi_msg.c
index 8e68984823..21bff96b7d 100644
--- a/zebra/zapi_msg.c
+++ b/zebra/zapi_msg.c
@@ -104,6 +104,7 @@ static void zserv_encode_vrf(struct stream *s, struct zebra_vrf *zvrf)
struct vrf_data data;
const char *netns_name = zvrf_ns_name(zvrf);
+ memset(&data, 0, sizeof(data));
data.l.table_id = zvrf->table_id;
if (netns_name)