Version 2.1

Signed-off-by: Sami Kerola <kerolasa@iki.fi>
This commit is contained in:
Sami Kerola 2006-03-13 00:00:00 +02:00
parent 74aef1c34e
commit 61b6acf2f5
52 changed files with 41412 additions and 9588 deletions

View file

@ -19,6 +19,20 @@
#ifndef DEFAULTS_H
# define DEFAULTS_H 1
/* Default file locations */
#ifndef DHCPDCONF_FILE
# define DHCPDCONF_FILE "/etc/dhcpd.conf"
#endif
#ifndef DHCPDLEASE_FILE
# define DHCPDLEASE_FILE "/var/lib/dhcp/dhcpd.leases"
#endif
/* Default output style
* possible formats are the same as you can see from --help */
#ifndef OUTPUT_FORMAT
# define OUTPUT_FORMAT "text"
#endif
/* Maximum line length in dhcpd.conf and dhcpd.leases */
static const int MAXLEN = 1024;
@ -29,9 +43,6 @@ static const int SHARED_NETWORKS_NAMES = 24576;
static const int SHARED_NETWORKS = 1024;
/* Maximum number of ranges */
static const unsigned int RANGES = 65536;
/* Merge sort split size */
static const int MIN_MERGE_SIZE = 8;
static const int RANGES = 65536;
#endif /* DEFAULTS_H */