- DHCP: retry storm fixed
This commit is contained in:
parent
d8a657a88d
commit
612cb471d8
@ -301,6 +301,7 @@ static void dhcp_process(DhcpState *s, DhcpProps *props, DhcpOption *opts) {
|
||||
|
||||
AlarmUserData params = {0};
|
||||
s->renewAlarmId = timer_sched_rel(E.tmr, ((int64_t)dhcpLeaseTime_s) * 1000000, NULL, params);
|
||||
timer_unsched(E.tmr, s->retryAlarmId);
|
||||
|
||||
MSG(ANSI_COLOR_BGREEN "\nDHCP done!\n" ANSI_COLOR_RESET);
|
||||
MSG("IP: " ANSI_COLOR_BYELLOW);
|
||||
|
Loading…
x
Reference in New Issue
Block a user