mirror of
http://thekelleys.org.uk/git/dnsmasq.git
synced 2026-10-24 12:04:38 +00:00
Fix FTBFS when -DNO_DHCP - thanks Sung Pae.
This commit is contained in:
1 parent
132255b5da
commit
c740e4f342
1 file changed
+2
-2
+2
-2
@@ -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)
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user