mirror of
https://git.savannah.nongnu.org/git/lwip.git
synced 2026-09-20 14:03:38 +08:00
nd6: fix missing cast in nd6_find_option
Signed-off-by: Simon Goldschmidt <goldsimon@gmx.de>
This commit is contained in:
@@ -304,7 +304,7 @@ nd6_process_autoconfig_prefix(struct netif *netif,
|
||||
* or a zero-length option was found.
|
||||
*/
|
||||
static void *
|
||||
nd6_find_option(struct pbuf *p, int offset, int wanted_type)
|
||||
nd6_find_option(struct pbuf *p, u16_t offset, int wanted_type)
|
||||
{
|
||||
while ((p->tot_len - offset) >= 2) {
|
||||
u8_t option_type;
|
||||
|
||||
Reference in New Issue
Block a user