From: Ted Lemon Date: Tue, 9 Mar 1999 23:43:36 +0000 (+0000) Subject: When creating anonymous pools, initialize share and group pointers. X-Git-Tag: V3-ALPHA-19990315~48 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=ac3d438f0813c85eb05f01623ac1920742b24359;p=thirdparty%2Fdhcp.git When creating anonymous pools, initialize share and group pointers. --- diff --git a/server/confpars.c b/server/confpars.c index 9190029b0..2c4cdd389 100644 --- a/server/confpars.c +++ b/server/confpars.c @@ -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"); } }