fix the jumbo frame bug

This commit is contained in:
Sukchan Lee 2017-12-16 13:26:34 +09:00
parent ba5687de1b
commit 04d3753f1c
1 changed files with 1 additions and 1 deletions

View File

@ -166,7 +166,7 @@ static status_t decode_ipv6_header(
endp = p + ntohs(ip6_h->ip6_plen);
jp = p + sizeof(struct ip6_hbh);
while(p != endp) /* Jumbo Frame */
while(p == endp) /* Jumbo Frame */
{
c_uint32_t jp_len = 0;
struct ip6_opt_jumbo *jumbo = NULL;