From f1c7e73bef8644f58a76bdf92f6b278ce0912f94 Mon Sep 17 00:00:00 2001 From: goldsimon Date: Tue, 20 May 2014 12:22:13 +0200 Subject: [PATCH] fixed last commit (copy & paste from patch broke the code) --- src/core/ipv4/ip_frag.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/ipv4/ip_frag.c b/src/core/ipv4/ip_frag.c index 1b84c982..218a298a 100644 --- a/src/core/ipv4/ip_frag.c +++ b/src/core/ipv4/ip_frag.c @@ -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) {