← Commit list

4abfc2642

Denys Vlasenko
Denys Vlasenko
2009-07-19
FAILED Duration: 43s

Subject

udhcpc: small simplification

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+1 -4
@@ -628,10 +628,7 @@ int udhcpc_main(int argc UNUSED_PARAM, char **argv)
inet_ntoa(temp_addr), (unsigned)lease_seconds);
}
requested_ip = packet.yiaddr;
- udhcp_run_script(&packet,
- ((state >= RENEWING && state <= RENEW_REQUESTED)
- ? "renew" : "bound")
- );
+ udhcp_run_script(&packet, state == REQUESTING ? "bound" : "renew");
state = BOUND;
change_listen_mode(LISTEN_NONE);