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

View File

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