← Commit list

7d9399e8d

Denis Vlasenko
Denis Vlasenko
2008-09-26
FAILED Duration: 36s

Subject

udhcpc: fixlet for previous commit

Binary

No binary (build failed)

Architecture & Compiler Flags

Architecture: x86_64-linux-gnu Compiler: gcc (Ubuntu 11.4.0-1ubuntu1~22.04.3) 11.4.0

—

Build Log

(log yok)

Commit Diff GitHub →

networking/udhcp/dhcpc.c+5 -3
@@ -399,12 +399,14 @@ int udhcpc_main(int argc UNUSED_PARAM, char **argv)
if (state == RENEW_REQUESTED)
udhcp_run_script(NULL, "deconfig");
change_listen_mode(LISTEN_RAW);
- state = INIT_SELECTING;
/* "discover...select...discover..." loops
- * were seen in the wild. Treat then similarly
+ * were seen in the wild. Treat them similarly
* to "no response to discover" case */
- if (state == REQUESTING)
+ if (state == REQUESTING) {
+ state = INIT_SELECTING;
goto leasefail;
+ }
+ state = INIT_SELECTING;
timeout = 0;
packet_num = 0;
continue;