2
0
mirror of https://gitlab.isc.org/isc-projects/dhcp synced 2025-08-31 06:15:55 +00:00

When creating anonymous pools, initialize share and group pointers.

This commit is contained in:
Ted Lemon
1999-03-09 23:43:36 +00:00
parent 40d08f51e2
commit ac3d438f08

View File

@@ -42,7 +42,7 @@
#ifndef lint
static char copyright[] =
"$Id: confpars.c,v 1.61 1999/02/25 23:30:39 mellon Exp $ Copyright (c) 1995, 1996 The Internet Software Consortium. All rights reserved.\n";
"$Id: confpars.c,v 1.62 1999/03/09 23:43:36 mellon Exp $ Copyright (c) 1995, 1996 The Internet Software Consortium. All rights reserved.\n";
#endif /* not lint */
#include "dhcpd.h"
@@ -1795,6 +1795,9 @@ void parse_address_range (cfile, group, type, pool)
last -> next = pool;
else
share -> pools = pool;
pool -> shared_network = share;
pool -> group = clone_group (share -> group,
"parse_address_range");
}
}