From: Ted Lemon Date: Wed, 11 Sep 1996 06:36:17 +0000 (+0000) Subject: Don't use server-identifier to initialize next_server X-Git-Tag: BETA_5_10~3 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7084791cfd9c1596fd4631418997d811deb6f397;p=thirdparty%2Fdhcp.git Don't use server-identifier to initialize next_server --- diff --git a/confpars.c b/confpars.c index 3ff58b6dd..f4d46e307 100644 --- a/confpars.c +++ b/confpars.c @@ -42,7 +42,7 @@ #ifndef lint static char copyright[] = -"$Id: confpars.c,v 1.33 1996/09/09 07:04:28 mellon Exp $ Copyright (c) 1995, 1996 The Internet Software Consortium. All rights reserved.\n"; +"$Id: confpars.c,v 1.34 1996/09/11 06:36:17 mellon Exp $ Copyright (c) 1995, 1996 The Internet Software Consortium. All rights reserved.\n"; #endif /* not lint */ #include "dhcpd.h" @@ -325,9 +325,6 @@ int parse_statement (cfile, group, type, host_decl, declaration) if (type == ROOT_GROUP) { if (!tree_evaluate (cache)) error ("server-identifier is not known"); - group -> next_server.len = 4; - memcpy (server_identifier.iabuf, - cache -> value, server_identifier.len); } token = next_token (&val, cfile); break; diff --git a/server/confpars.c b/server/confpars.c index 3ff58b6dd..f4d46e307 100644 --- a/server/confpars.c +++ b/server/confpars.c @@ -42,7 +42,7 @@ #ifndef lint static char copyright[] = -"$Id: confpars.c,v 1.33 1996/09/09 07:04:28 mellon Exp $ Copyright (c) 1995, 1996 The Internet Software Consortium. All rights reserved.\n"; +"$Id: confpars.c,v 1.34 1996/09/11 06:36:17 mellon Exp $ Copyright (c) 1995, 1996 The Internet Software Consortium. All rights reserved.\n"; #endif /* not lint */ #include "dhcpd.h" @@ -325,9 +325,6 @@ int parse_statement (cfile, group, type, host_decl, declaration) if (type == ROOT_GROUP) { if (!tree_evaluate (cache)) error ("server-identifier is not known"); - group -> next_server.len = 4; - memcpy (server_identifier.iabuf, - cache -> value, server_identifier.len); } token = next_token (&val, cfile); break;