fixed last commit (copy & paste from patch broke the code)

This commit is contained in:
goldsimon 2014-05-20 12:22:13 +02:00
parent c18abd4fbe
commit f1c7e73bef

View File

@ -595,7 +595,7 @@ ip_reass(struct pbuf *p)
}
/* find the previous entry in the linked list */
if (ipr == reassdatagrams_ipv4) {
if (ipr == reassdatagrams) {
ipr_prev = NULL;
} else {
for (ipr_prev = reassdatagrams; ipr_prev != NULL; ipr_prev = ipr_prev->next) {