]> git.ipfire.org Git - thirdparty/dhcp.git/commitdiff
Oops, fix a jungian slip in parse code.
authorTed Lemon <source@isc.org>
Wed, 4 Oct 2000 18:47:41 +0000 (18:47 +0000)
committerTed Lemon <source@isc.org>
Wed, 4 Oct 2000 18:47:41 +0000 (18:47 +0000)
common/parse.c

index 873b49c4a77cc12e2c9cb4cceab882ebdf8fe1cd..c3ad345f54fc1e2cca332c820e226c69d8c59ef9 100644 (file)
@@ -43,7 +43,7 @@
 
 #ifndef lint
 static char copyright[] =
-"$Id: parse.c,v 1.87 2000/10/03 19:33:37 mellon Exp $ Copyright (c) 1995-2000 The Internet Software Consortium.  All rights reserved.\n";
+"$Id: parse.c,v 1.88 2000/10/04 18:47:41 mellon Exp $ Copyright (c) 1995-2000 The Internet Software Consortium.  All rights reserved.\n";
 #endif /* not lint */
 
 #include "dhcpd.h"
@@ -304,7 +304,7 @@ void parse_hardware_param (cfile, hardware)
                break;
              default:
                if (!strncmp (val, "unknown-", 8)) {
-                       hardware -> hbuf [i] = atoi (&val [8]);
+                       hardware -> hbuf [0] = atoi (&val [8]);
                } else {
                        parse_warn (cfile,
                                    "expecting a network hardware type");