corrected buffer lengths for memset()

obtained from: KAME
MFC after: 3 days
This commit is contained in:
SUZUKI Shinsuke 2002-12-06 02:11:31 +00:00
parent 8d6754f289
commit 45289b43fb
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=107652

View File

@ -314,8 +314,8 @@ main(argc, argv)
size_t rthlen;
/* just to be sure */
memset(&smsghdr, 0, sizeof(&smsghdr));
memset(&smsgiov, 0, sizeof(&smsgiov));
memset(&smsghdr, 0, sizeof(smsghdr));
memset(&smsgiov, 0, sizeof(smsgiov));
preload = 0;
datap = &outpack[ICMP6ECHOLEN + ICMP6ECHOTMLEN];