From 06e984a02eb66acf5f5647b73a87bc0721f44f1d Mon Sep 17 00:00:00 2001 From: Simon Duquennoy Date: Thu, 10 Mar 2016 11:40:30 +0100 Subject: [PATCH] uip6: enable sending of "port unreachable" ICMPv6 message --- core/net/ipv6/uip6.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/core/net/ipv6/uip6.c b/core/net/ipv6/uip6.c index 55bebcfb5..057d6173a 100644 --- a/core/net/ipv6/uip6.c +++ b/core/net/ipv6/uip6.c @@ -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");