Commit 9007657d authored by Ted Lemon's avatar Ted Lemon

Oops, fix a jungian slip in parse code.

parent 7d452841
......@@ -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");
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment