mirror of
git://git.code.sf.net/p/dhcpd-pools/code
synced 2025-12-17 00:06:59 +00:00
getdata: split busy function to segments used via function pointer
When it is known IPv4 is in use there is no need to spend time with if statements checking whether IPv6 is in use. Signed-off-by: Sami Kerola <kerolasa@iki.fi>
This commit is contained in:
parent
5b8ad97611
commit
97c6f0292f
3 changed files with 73 additions and 24 deletions
|
|
@ -248,6 +248,7 @@ int main(int argc, char **argv)
|
|||
|
||||
/* Do the job */
|
||||
prepare_memory();
|
||||
xstrstr = xstrstr_init;
|
||||
parse_config(true, config.dhcpdconf_file, shared_networks);
|
||||
|
||||
parse_leases();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue