From 3268e90f5e0a68fce5dff5eedf2ca08906c27e1b Mon Sep 17 00:00:00 2001 From: Simon Kelley Date: Sun, 22 Jan 2012 16:15:02 +0000 Subject: [PATCH] Make default NO_DHCP6 and remove compiler warning. --- src/config.h | 2 +- src/dnsmasq.c | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/src/config.h b/src/config.h index 63e7488..3aecf0b 100644 --- a/src/config.h +++ b/src/config.h @@ -116,7 +116,7 @@ RESOLVFILE has no library dependencies other than libc */ #define HAVE_DHCP -#define HAVE_DHCP6 +/* #define HAVE_DHCP6 */ #define HAVE_TFTP #define HAVE_SCRIPT /* #define HAVE_LUASCRIPT */ diff --git a/src/dnsmasq.c b/src/dnsmasq.c index 0fb9f6e..9f4adb6 100644 --- a/src/dnsmasq.c +++ b/src/dnsmasq.c @@ -501,7 +501,9 @@ int main (int argc, char **argv) int family = AF_INET; dhcp_tmp = daemon->dhcp; +#ifdef HAVE_DHCP6 again: +#endif for (; dhcp_tmp; dhcp_tmp = dhcp_tmp->next) { void *start = &dhcp_tmp->start;