Compare commits

...
1 Commits
Author SHA1 Message Date
Simon Kelley c740e4f342 Fix FTBFS when -DNO_DHCP - thanks Sung Pae. 2012-08-09 16:19:01 +01:00
+2 -2
View File
@@ -601,6 +601,8 @@ static void do_usage(void)
}
}
#define ret_err(x) do { strcpy(errstr, (x)); return 0; } while (0)
#ifdef HAVE_DHCP
static int is_tag_prefix(char *arg)
@@ -619,8 +621,6 @@ static char *set_prefix(char *arg)
return arg;
}
#define ret_err(x) do { strcpy(errstr, (x)); return 0; } while (0)
/* This is too insanely large to keep in-line in the switch */
static int parse_dhcp_opt(char *errstr, char *arg, int flags)
{