X-Git-Url: http://git.asbjorn.it/?a=blobdiff_plain;f=src%2Fdefaults.h;h=c34e4be6981d020fb72ed971a25dc5812b42f81b;hb=5cbe8d07fb23db630e76d18022f20368312720ec;hp=e363089244efdceb39d3624ae132ba0c023a2ad6;hpb=74aef1c34e31699595b4b198bcde5ac1af694260;p=debian%2Fdhcpd-pools.git diff --git a/src/defaults.h b/src/defaults.h index e363089..c34e4be 100644 --- a/src/defaults.h +++ b/src/defaults.h @@ -1,20 +1,19 @@ -/* -** Copyright (C) 2006 Sami Kerola -** -** This program is free software; you can redistribute it and/or modify +/* http://dhcpd-pools.sourceforge.net/ +** Copyright 2006- Sami Kerola +** +** This program is free software: you can redistribute it and/or modify ** it under the terms of the GNU General Public License as published by -** the Free Software Foundation; either version 2 of the License, or +** the Free Software Foundation, either version 3 of the License, or ** (at your option) any later version. -** +** ** This program is distributed in the hope that it will be useful, ** but WITHOUT ANY WARRANTY; without even the implied warranty of ** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ** GNU General Public License for more details. -** +** ** You should have received a copy of the GNU General Public License -** along with this program; if not, write to the Free Software -** Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. -*/ +** along with this program. If not, see . +*/ #ifndef DEFAULTS_H # define DEFAULTS_H 1 @@ -23,10 +22,10 @@ static const int MAXLEN = 1024; /* Total number of characters in all shared network names */ -static const int SHARED_NETWORKS_NAMES = 24576; +static const int SHARED_NETWORKS_NAMES = 65536; /* Maximum number of shared networks */ -static const int SHARED_NETWORKS = 1024; +static const int SHARED_NETWORKS = 8192; /* Maximum number of ranges */ static const unsigned int RANGES = 65536;