mirror of
https://github.com/lwip-tcpip/lwip.git
synced 2025-01-30 12:32:37 +00:00
Fixed bug #33653 (ip_data.current_ip_header_tot_len calculation errors!) introduced while mergin IPv4 and IPv6
This commit is contained in:
parent
4b934945f3
commit
2bd498524d
@ -470,7 +470,7 @@ ip_input(struct pbuf *p, struct netif *inp)
|
||||
|
||||
ip_data.current_netif = inp;
|
||||
ip_data.current_ip4_header = iphdr;
|
||||
ip_data.current_ip_header_tot_len = IPH_LEN(iphdr);
|
||||
ip_data.current_ip_header_tot_len = IPH_HL(iphdr) * 4;
|
||||
|
||||
#if LWIP_RAW
|
||||
/* raw input did not eat the packet? */
|
||||
|
Loading…
x
Reference in New Issue
Block a user