]> git.ipfire.org Git - thirdparty/dhcp.git/commitdiff
Use the nwip options in the nwip universe, not the dhcp options.
authorTed Lemon <source@isc.org>
Wed, 27 Sep 2000 19:21:25 +0000 (19:21 +0000)
committerTed Lemon <source@isc.org>
Wed, 27 Sep 2000 19:21:25 +0000 (19:21 +0000)
common/tables.c

index b686e1ead96d55e390b0fcf45edad9afe5446cd6..b4be29cddbfdf50ffcdaed26e459df7f9d4ef861 100644 (file)
@@ -43,7 +43,7 @@
 
 #ifndef lint
 static char copyright[] =
-"$Id: tables.c,v 1.44 2000/09/16 20:03:01 mellon Exp $ Copyright (c) 1995-2000 The Internet Software Consortium.  All rights reserved.\n";
+"$Id: tables.c,v 1.45 2000/09/27 19:21:25 mellon Exp $ Copyright (c) 1995-2000 The Internet Software Consortium.  All rights reserved.\n";
 #endif /* not lint */
 
 #include "dhcpd.h"
@@ -922,10 +922,10 @@ void initialize_common_option_spaces()
        if (!nwip_universe.hash)
                log_fatal ("Can't allocate dhcp option hash table.");
        for (i = 0; i < 256; i++) {
-               nwip_universe.options [i] = &dhcp_options [i];
+               nwip_universe.options [i] = &nwip_options [i];
                option_hash_add (nwip_universe.hash,
-                                dhcp_options [i].name, 0,
-                                &dhcp_options [i], MDL);
+                                nwip_options [i].name, 0,
+                                &nwip_options [i], MDL);
        }
 
        /* Set up the hash of universes. */