Commit c740e4f3 authored by Simon Kelley's avatar Simon Kelley

Fix FTBFS when -DNO_DHCP - thanks Sung Pae.

parent 132255b5
...@@ -601,6 +601,8 @@ static void do_usage(void) ...@@ -601,6 +601,8 @@ static void do_usage(void)
} }
} }
#define ret_err(x) do { strcpy(errstr, (x)); return 0; } while (0)
#ifdef HAVE_DHCP #ifdef HAVE_DHCP
static int is_tag_prefix(char *arg) static int is_tag_prefix(char *arg)
...@@ -619,8 +621,6 @@ static char *set_prefix(char *arg) ...@@ -619,8 +621,6 @@ static char *set_prefix(char *arg)
return 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 */ /* This is too insanely large to keep in-line in the switch */
static int parse_dhcp_opt(char *errstr, char *arg, int flags) static int parse_dhcp_opt(char *errstr, char *arg, int flags)
{ {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment