zero-cleared allocated prefix information when configured.

Obtained from:	KAME
This commit is contained in:
Hajimu UMEMOTO 2001-01-23 17:29:12 +00:00
parent 15516f16d2
commit 1167992be6
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=71437

View File

@ -258,6 +258,8 @@ getconfig(intface)
__FUNCTION__);
exit(1);
}
memset(pfx, 0, sizeof(*pfx));
/* link into chain */
insque(pfx, &tmp->prefix);