]> git.ipfire.org Git - thirdparty/dhcp.git/commitdiff
Pass down the option state in store_options.
authorTed Lemon <source@isc.org>
Mon, 5 Apr 1999 19:03:59 +0000 (19:03 +0000)
committerTed Lemon <source@isc.org>
Mon, 5 Apr 1999 19:03:59 +0000 (19:03 +0000)
common/options.c

index 13cfc888af5c07b4f576506545c758cd0211ce66..3b4520b4e5d3d8e1ccbd540829691d374d0c3dcf 100644 (file)
@@ -22,7 +22,7 @@
 
 #ifndef lint
 static char copyright[] =
-"$Id: options.c,v 1.38 1999/04/05 15:40:59 mellon Exp $ Copyright (c) 1995, 1996 The Internet Software Consortium.  All rights reserved.\n";
+"$Id: options.c,v 1.39 1999/04/05 19:03:59 mellon Exp $ Copyright (c) 1995, 1996 The Internet Software Consortium.  All rights reserved.\n";
 #endif /* not lint */
 
 #define DHCP_OPTION_DATA
@@ -501,8 +501,7 @@ int store_options (buffer, buflen, options, priority_list, priority_len,
                }
 
                /* Find the value of the option... */
-               evaluate_option_cache (&od, (struct packet *)0,
-                                      (struct option_state *)0, oc);
+               evaluate_option_cache (&od, (struct packet *)0, options, oc);
                if (!od.len) {
                        continue;
                }