diff options
Diffstat (limited to 'ospf6d/ospf6_auth_trailer.c')
-rw-r--r-- | ospf6d/ospf6_auth_trailer.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ospf6d/ospf6_auth_trailer.c b/ospf6d/ospf6_auth_trailer.c index 1f3f87751..77ac4a187 100644 --- a/ospf6d/ospf6_auth_trailer.c +++ b/ospf6d/ospf6_auth_trailer.c @@ -406,7 +406,7 @@ int ospf6_auth_validate_pkt(struct ospf6_interface *oi, unsigned int *pkt_len, return OSPF6_AUTH_VALIDATE_FAILURE; } - memset(&ospf6_auth_info, 0, sizeof(struct ospf6_auth_hdr)); + memset(&ospf6_auth_info, 0, sizeof(ospf6_auth_info)); if ((*pkt_len - hdr_len - (*lls_block_len)) > sizeof(ospf6_auth_info)) { if (IS_OSPF6_DEBUG_AUTH_RX) zlog_err("RECV[%s] : Wrong auth data in %s packet", |