From bf5375df3f800e9b6c800bb054d382e991fb3503 Mon Sep 17 00:00:00 2001 From: Sami Kerola Date: Wed, 20 Jul 2011 09:10:22 +0200 Subject: [PATCH 1/2] dhcpd-pools.h: move string.h to include Version 2.16 needs the patche to compile correctly and without warnings (tested on NetBSD, Mac OS X and Debian/Ubuntu). Signed-off-by: Adam Ciarcinski Signed-off-by: Sami Kerola --- THANKS | 1 + src/dhcpd-pools.h | 6 ++++++ src/getdata.c | 7 ------- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/THANKS b/THANKS index 46d1efc..41f32f2 100644 --- a/THANKS +++ b/THANKS @@ -18,3 +18,4 @@ Dominic Germain Anders Låstad Thor Eivind Brantzeg Ahmed AL Dakhil +Adam Ciarcinski diff --git a/src/dhcpd-pools.h b/src/dhcpd-pools.h index 4d785fe..26b6ce3 100644 --- a/src/dhcpd-pools.h +++ b/src/dhcpd-pools.h @@ -52,6 +52,12 @@ extern char *malloc(); #define EXIT_SUCCESS 0 #endif /* STDC_HEADERS */ +#ifdef HAVE_STRING_H +#include +#else +#include +#endif + #ifndef HAVE_PROGRAM_INVOCATION_SHORT_NAME # ifdef HAVE___PROGNAME extern char *__progname; diff --git a/src/getdata.c b/src/getdata.c index 8a0786d..01bf3e9 100644 --- a/src/getdata.c +++ b/src/getdata.c @@ -43,19 +43,12 @@ extern char *malloc(); #define EXIT_SUCCESS 0 /* Successful exit status. */ #endif /* STDC_HEADERS */ -#ifdef HAVE_STRING_H -#include -#else -#include -#endif - #include #include #include #include #include #include -#include #include #include #include From 2747b0667b9d9fb7ae8a2b4321443ccdb69b4511 Mon Sep 17 00:00:00 2001 From: Sami Kerola Date: Tue, 2 Aug 2011 11:51:33 +0200 Subject: [PATCH 2/2] docs: TODO update Feature requests added. Signed-off-by: Sami Kerola --- TODO | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/TODO b/TODO index 0af341a..2e2f6c6 100644 --- a/TODO +++ b/TODO @@ -1,3 +1,11 @@ +### Feature requests + +o IPv6 support (Frank) +o Assigned IPs count (Nelson) +o Subnet counting class (Henryk) + +### Next major version + 1 Well structured code, with extendible sane architecture. 2 Server, which has analysis in cache for N seconds and will answer via socket.