mirror of
git://git.code.sf.net/p/dhcpd-pools/code
synced 2025-12-17 16:26:59 +00:00
clean up: move global variables to config structure
Signed-off-by: Sami Kerola <kerolasa@iki.fi>
This commit is contained in:
parent
b59e980cab
commit
d3ee104a59
7 changed files with 21 additions and 25 deletions
|
|
@ -103,8 +103,8 @@ int parse_leases(void)
|
|||
ethernets = true;
|
||||
}
|
||||
|
||||
const char **p = prefixes[dhcp_version];
|
||||
int *l = prefix_length[dhcp_version];
|
||||
const char **p = prefixes[config.dhcp_version];
|
||||
int *l = prefix_length[config.dhcp_version];
|
||||
|
||||
/*! \def HAS_PREFIX(line, type)
|
||||
* \brief A macro to match IPv4 and IPv6 lease lines.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue