diff options
author | Russ Dill | 2003-12-15 22:09:36 +0000 |
---|---|---|
committer | Russ Dill | 2003-12-15 22:09:36 +0000 |
commit | 4a9e34c14867430141c1e510847df0ec91060a5d (patch) | |
tree | 84fe7807595642f4469d98c0a2d7d4f691a52887 /networking/udhcp/clientpacket.c | |
parent | a1fece2c70898a1180f0506df6695e3077510731 (diff) | |
download | busybox-4a9e34c14867430141c1e510847df0ec91060a5d.zip busybox-4a9e34c14867430141c1e510847df0ec91060a5d.tar.gz |
options is a pretty common symbol, bad idea to use as a global in udhcp when compiling into busybox
Diffstat (limited to 'networking/udhcp/clientpacket.c')
-rw-r--r-- | networking/udhcp/clientpacket.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/networking/udhcp/clientpacket.c b/networking/udhcp/clientpacket.c index 7debac2..3ca579c 100644 --- a/networking/udhcp/clientpacket.c +++ b/networking/udhcp/clientpacket.c @@ -90,9 +90,9 @@ static void add_requests(struct dhcpMessage *packet) int i, len = 0; packet->options[end + OPT_CODE] = DHCP_PARAM_REQ; - for (i = 0; options[i].code; i++) - if (options[i].flags & OPTION_REQ) - packet->options[end + OPT_DATA + len++] = options[i].code; + for (i = 0; dhcp_options[i].code; i++) + if (dhcp_options[i].flags & OPTION_REQ) + packet->options[end + OPT_DATA + len++] = dhcp_options[i].code; packet->options[end + OPT_LEN] = len; packet->options[end + OPT_DATA + len] = DHCP_END; |