mirror of
https://github.com/oliverschmidt/contiki.git
synced 2025-02-23 13:29:08 +00:00
uip6: restore proto after calling remove_ext_hdr
This commit is contained in:
parent
add5a8be67
commit
9930756d7c
@ -1473,6 +1473,7 @@ uip_process(uint8_t flag)
|
||||
udp_input:
|
||||
|
||||
remove_ext_hdr();
|
||||
UIP_IP_BUF->proto = UIP_PROTO_UDP;
|
||||
|
||||
PRINTF("Receiving UDP packet\n");
|
||||
|
||||
@ -1593,6 +1594,7 @@ uip_process(uint8_t flag)
|
||||
tcp_input:
|
||||
|
||||
remove_ext_hdr();
|
||||
UIP_IP_BUF->proto = UIP_PROTO_TCP;
|
||||
|
||||
UIP_STAT(++uip_stat.tcp.recv);
|
||||
PRINTF("Receiving TCP packet\n");
|
||||
|
Loading…
x
Reference in New Issue
Block a user