From 405b295306bb236d3757549c429f7c9c77337009 Mon Sep 17 00:00:00 2001 From: Niclas Finne Date: Fri, 2 Dec 2011 17:13:29 +0100 Subject: [PATCH] Clear uip_len when trying to send to a neighbor with an incomplete state, as suggested by Ivan Delamer. --- core/net/tcpip.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/net/tcpip.c b/core/net/tcpip.c index 79b01b895..5ddd2fb1d 100644 --- a/core/net/tcpip.c +++ b/core/net/tcpip.c @@ -631,8 +631,8 @@ tcpip_ipv6_output(void) } /* memcpy(nbr->queue_buf, UIP_IP_BUF, uip_len); nbr->queue_buf_len = uip_len;*/ - uip_len = 0; #endif /*UIP_CONF_IPV6_QUEUE_PKT*/ + uip_len = 0; return; } /* if running NUD (nbc->state == STALE, DELAY, or PROBE ) keep