From c740e4f342a2a5de9d9e09bfe450e8996d25a9c7 Mon Sep 17 00:00:00 2001 From: Simon Kelley Date: Thu, 9 Aug 2012 16:19:01 +0100 Subject: [PATCH] Fix FTBFS when -DNO_DHCP - thanks Sung Pae. --- src/option.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/option.c b/src/option.c index e47967f..8e7107e 100644 --- a/src/option.c +++ b/src/option.c @@ -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) {