X-Git-Url: http://git.asbjorn.it/?a=blobdiff_plain;f=src%2Fdefaults.h;h=8cb69e0fbe1ec56b9b0203e27b8d9c946ad0ab47;hb=c81af2df4585433c0a86f09cb60cd40e4eef95a9;hp=3115751a94b03d1edaed13a6864c6e672bebec5b;hpb=17429ef85bfb4bdf51f4a659443fe4c31c972928;p=debian%2Fdhcpd-pools.git diff --git a/src/defaults.h b/src/defaults.h index 3115751..8cb69e0 100644 --- a/src/defaults.h +++ b/src/defaults.h @@ -13,7 +13,7 @@ ** ** You should have received a copy of the GNU General Public License ** along with this program. If not, see . -*/ +*/ #ifndef DEFAULTS_H # define DEFAULTS_H 1 @@ -21,16 +21,10 @@ /* Maximum line length in dhcpd.conf and dhcpd.leases */ static const int MAXLEN = 1024; -/* Total number of characters in all shared network names */ -static const int SHARED_NETWORKS_NAMES = 24576; - /* Maximum number of shared networks */ -static const int SHARED_NETWORKS = 1024; +static const unsigned int SHARED_NETWORKS = 8192; /* Maximum number of ranges */ -static const unsigned int RANGES = 65536; - -/* Merge sort split size */ -static const int MIN_MERGE_SIZE = 8; +unsigned int RANGES; -#endif /* DEFAULTS_H */ +#endif /* DEFAULTS_H */