uip6: enable sending of "port unreachable" ICMPv6 message

This commit is contained in:
Simon Duquennoy 2016-03-10 11:40:30 +01:00
parent 5886bdea31
commit 06e984a02e

View file

@ -1529,12 +1529,8 @@ uip_process(uint8_t flag)
PRINTF("udp: no matching connection found\n");
UIP_STAT(++uip_stat.udp.drop);
#if UIP_UDP_SEND_UNREACH_NOPORT
uip_icmp6_error_output(ICMP6_DST_UNREACH, ICMP6_DST_UNREACH_NOPORT, 0);
goto send;
#else
goto drop;
#endif
udp_found:
PRINTF("In udp_found\n");