mirror of
https://github.com/lwip-tcpip/lwip.git
synced 2024-12-25 18:14:53 +00:00
acd: Fix updating prev pointer in acd_remove
Fixes: 3a788b6e8b
("dhcp: remove acd handle when stopping dhcp")
Signed-off-by: Axel Lin <axel.lin@ingics.com>
This commit is contained in:
parent
b538bff383
commit
919dc2019a
@ -164,6 +164,7 @@ acd_remove(struct netif *netif, struct acd *acd)
|
||||
}
|
||||
return;
|
||||
}
|
||||
prev = acd2;
|
||||
}
|
||||
LWIP_ASSERT(("acd_remove(): acd not on list\n"), 0);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user