options is a pretty common symbol, bad idea to use as a global in udhcp when compiling into busybox

This commit is contained in:
Russ Dill
2003-12-15 22:09:36 +00:00
parent a1fece2c70
commit 4a9e34c148
5 changed files with 17 additions and 16 deletions

View File

@@ -82,7 +82,7 @@ static int read_opt(const char *const_line, void *arg)
if ((opt = strtok(strcpy(line, const_line), " \t="))) {
for (option = options; option->code; option++)
for (option = dhcp_options; option->code; option++)
if (!strcasecmp(option->name, opt))
break;