mirror of
git://git.code.sf.net/p/dhcpd-pools/code
synced 2025-12-18 08:47:00 +00:00
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:
parent
b492802dfa
commit
c81af2df45
5 changed files with 18 additions and 55 deletions
|
|
@ -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;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue