From: Ted Lemon Date: Mon, 5 Apr 1999 19:03:59 +0000 (+0000) Subject: Pass down the option state in store_options. X-Git-Tag: V3-ALPHA-19990408~14 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c980aa65ede21e038d08738bc3e08a29328740f3;p=thirdparty%2Fdhcp.git Pass down the option state in store_options. --- diff --git a/common/options.c b/common/options.c index 13cfc888a..3b4520b4e 100644 --- a/common/options.c +++ b/common/options.c @@ -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; }