mirror of https://github.com/mirror/busybox.git
udhcpc: fix comment, no code changes
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>pull/18/head
parent
72f12acb6b
commit
84d38500a7
|
@ -507,7 +507,7 @@ static char **fill_envp(struct dhcp_packet *packet)
|
||||||
putenv(*curr++);
|
putenv(*curr++);
|
||||||
}
|
}
|
||||||
if (packet->gateway_nip) {
|
if (packet->gateway_nip) {
|
||||||
/* IP address of DHCP relay agent to use in bootstrap */
|
/* IP address of DHCP relay agent */
|
||||||
*curr = xmalloc(sizeof("giaddr=255.255.255.255"));
|
*curr = xmalloc(sizeof("giaddr=255.255.255.255"));
|
||||||
sprint_nip(*curr, "giaddr=", (uint8_t *) &packet->gateway_nip);
|
sprint_nip(*curr, "giaddr=", (uint8_t *) &packet->gateway_nip);
|
||||||
putenv(*curr++);
|
putenv(*curr++);
|
||||||
|
|
Loading…
Reference in New Issue