Clear uip_len when trying to send to a neighbor with an incomplete state, as suggested by Ivan Delamer.
This commit is contained in:
parent
74aa63de43
commit
405b295306
|
@ -631,8 +631,8 @@ tcpip_ipv6_output(void)
|
||||||
}
|
}
|
||||||
/* memcpy(nbr->queue_buf, UIP_IP_BUF, uip_len);
|
/* memcpy(nbr->queue_buf, UIP_IP_BUF, uip_len);
|
||||||
nbr->queue_buf_len = uip_len;*/
|
nbr->queue_buf_len = uip_len;*/
|
||||||
uip_len = 0;
|
|
||||||
#endif /*UIP_CONF_IPV6_QUEUE_PKT*/
|
#endif /*UIP_CONF_IPV6_QUEUE_PKT*/
|
||||||
|
uip_len = 0;
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
/* if running NUD (nbc->state == STALE, DELAY, or PROBE ) keep
|
/* if running NUD (nbc->state == STALE, DELAY, or PROBE ) keep
|
||||||
|
|
Loading…
Reference in a new issue