uip6: enable sending of "port unreachable" ICMPv6 message
This commit is contained in:
parent
5886bdea31
commit
06e984a02e
|
@ -1529,12 +1529,8 @@ uip_process(uint8_t flag)
|
||||||
PRINTF("udp: no matching connection found\n");
|
PRINTF("udp: no matching connection found\n");
|
||||||
UIP_STAT(++uip_stat.udp.drop);
|
UIP_STAT(++uip_stat.udp.drop);
|
||||||
|
|
||||||
#if UIP_UDP_SEND_UNREACH_NOPORT
|
|
||||||
uip_icmp6_error_output(ICMP6_DST_UNREACH, ICMP6_DST_UNREACH_NOPORT, 0);
|
uip_icmp6_error_output(ICMP6_DST_UNREACH, ICMP6_DST_UNREACH_NOPORT, 0);
|
||||||
goto send;
|
goto send;
|
||||||
#else
|
|
||||||
goto drop;
|
|
||||||
#endif
|
|
||||||
|
|
||||||
udp_found:
|
udp_found:
|
||||||
PRINTF("In udp_found\n");
|
PRINTF("In udp_found\n");
|
||||||
|
|
Loading…
Reference in a new issue