preferred and valid times in bpf.c

This commit is contained in:
Simon Kelley
2012-12-21 20:54:00 +00:00
parent 55b42f6de3
commit 81e84f8dac

View File

@@ -147,7 +147,8 @@ int iface_enumerate(int family, void *parm, int (*callback)())
addr->s6_addr[3] = 0;
}
if (!((*callback)(addr, prefix, scope_id, iface_index, 0, 0, 0, parm)))
/* preferred and valid times == forever until we known how to dtermine them. */
if (!((*callback)(addr, prefix, scope_id, iface_index, 0, -1, -1, parm)))
goto err;
}
#endif