udhcpc: fix comment, no code changes
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
This commit is contained in:
parent
72f12acb6b
commit
84d38500a7
@ -507,7 +507,7 @@ static char **fill_envp(struct dhcp_packet *packet)
|
||||
putenv(*curr++);
|
||||
}
|
||||
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"));
|
||||
sprint_nip(*curr, "giaddr=", (uint8_t *) &packet->gateway_nip);
|
||||
putenv(*curr++);
|
||||
|
Loading…
Reference in New Issue
Block a user