shared network names to be dynamically allocated

This patch is a step a head to make data all structures
completely dynamic. After this the next obvious thing to do is to
make shared networks struct a linked list instead of a list.

Signed-off-by: Sami Kerola <kerolasa@iki.fi>
This commit is contained in:
Sami Kerola 2011-04-11 20:52:40 +02:00
parent b492802dfa
commit c81af2df45
5 changed files with 18 additions and 55 deletions

View file

@ -21,9 +21,6 @@
/* 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 unsigned int SHARED_NETWORKS_NAMES = 65536;
/* Maximum number of shared networks */
static const unsigned int SHARED_NETWORKS = 8192;