mirror of
https://git.savannah.nongnu.org/git/lwip.git
synced 2026-08-10 01:23:48 +08:00
Apply [patch #8969] from Freddie Chopin: Constify netif in dhcp_supplied_address()
This commit is contained in:
@@ -1889,7 +1889,7 @@ dhcp_option_trailer(struct dhcp *dhcp)
|
||||
* 0 otherwise
|
||||
*/
|
||||
u8_t
|
||||
dhcp_supplied_address(struct netif *netif)
|
||||
dhcp_supplied_address(const struct netif *netif)
|
||||
{
|
||||
if ((netif != NULL) && (netif->dhcp != NULL)) {
|
||||
if ((netif->dhcp->state == DHCP_STATE_BOUND) ||
|
||||
|
||||
Reference in New Issue
Block a user