]> git.ipfire.org Git - thirdparty/dhcp.git/commitdiff
Don't use server-identifier to initialize next_server
authorTed Lemon <source@isc.org>
Wed, 11 Sep 1996 06:36:17 +0000 (06:36 +0000)
committerTed Lemon <source@isc.org>
Wed, 11 Sep 1996 06:36:17 +0000 (06:36 +0000)
confpars.c
server/confpars.c

index 3ff58b6dd092ee8178c83929963ca3a979753425..f4d46e3075fd0872844d59ccee70c0511bc25de8 100644 (file)
@@ -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;
index 3ff58b6dd092ee8178c83929963ca3a979753425..f4d46e3075fd0872844d59ccee70c0511bc25de8 100644 (file)
@@ -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;