Fix a panic in tmpaddrtimer.

This commit is contained in:
hrs 2013-08-05 00:36:12 +00:00
parent baea70e2d2
commit 05101f7501

View File

@ -932,6 +932,8 @@ in6_tmpaddrtimer(void *arg)
bzero(nullbuf, sizeof(nullbuf));
TAILQ_FOREACH(ifp, &V_ifnet, if_list) {
if (ifp->if_afdata[AF_INET6] == NULL)
continue;
ndi = ND_IFINFO(ifp);
if (bcmp(ndi->randomid, nullbuf, sizeof(nullbuf)) != 0) {
/*