fix(lwip): fix DHCP rebind timeout has no process

This commit is contained in:
Dong Heng
2020-04-21 11:43:19 +08:00
parent faae0a99b6
commit 8671077fcc

View File

@@ -518,6 +518,8 @@ dhcp_timeout(struct netif *netif)
} else {
dhcp_discover(netif);
}
} else if (dhcp->state == DHCP_STATE_REBINDING) {
dhcp->t2_rebind_time = 1;
}
}