← Commit list

741bfa9a7

Denys Vlasenko
Denys Vlasenko
2017-05-08
SUCCESS Duration: 143s

Subject

udhcpc: fix "udhcpc -x hostname: not working on nommu"

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/d6_dhcpc.c+2 -0
@@ -1072,6 +1072,8 @@ int udhcpc6_main(int argc UNUSED_PARAM, char **argv)
/* now it looks similar to udhcpd's config file line:
* "optname optval", using the common routine: */
udhcp_str2optset(optstr, &client_config.options);
+ if (colon)
+ *colon = ':'; /* restore it for NOMMU reexec */
}
if (d6_read_interface(client_config.interface,
networking/udhcp/dhcpc.c+2 -0
@@ -1365,6 +1365,8 @@ int udhcpc_main(int argc UNUSED_PARAM, char **argv)
/* now it looks similar to udhcpd's config file line:
* "optname optval", using the common routine: */
udhcp_str2optset(optstr, &client_config.options);
+ if (colon)
+ *colon = ':'; /* restore it for NOMMU reexec */
}
if (udhcp_read_interface(client_config.interface,