Clear uip_len when trying to send to a neighbor with an incomplete state, as suggested by Ivan Delamer.

This commit is contained in:
Niclas Finne 2011-12-02 17:13:29 +01:00
parent 74aa63de43
commit 405b295306

View file

@ -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