From: Ted Lemon Date: Tue, 25 Jan 2000 01:43:48 +0000 (+0000) Subject: Support scoping. X-Git-Tag: V3-BETA-2-PATCH-1~406 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=502e9f89cee32afcfcf715d32a12c0834bd2ec92;p=thirdparty%2Fdhcp.git Support scoping. --- diff --git a/server/omapi.c b/server/omapi.c index 04b8336f7..c30bbd31c 100644 --- a/server/omapi.c +++ b/server/omapi.c @@ -29,7 +29,7 @@ #ifndef lint static char copyright[] = -"$Id: omapi.c,v 1.24 2000/01/08 01:49:36 mellon Exp $ Copyright (c) 1995, 1996, 1997, 1998, 1999 The Internet Software Consortium. All rights reserved.\n"; +"$Id: omapi.c,v 1.25 2000/01/25 01:43:48 mellon Exp $ Copyright (c) 1995, 1996, 1997, 1998, 1999 The Internet Software Consortium. All rights reserved.\n"; #endif /* not lint */ #include "dhcpd.h" @@ -1193,6 +1193,7 @@ isc_result_t dhcp_host_get_value (omapi_object_t *h, omapi_object_t *id, (struct lease *)0, (struct option_state *)0, (struct option_state *)0, + &global_scope, host -> fixed_addr)) { status = (omapi_make_const_value (value, name, ip_addrs.data, ip_addrs.len, @@ -1327,6 +1328,7 @@ isc_result_t dhcp_host_stuff_values (omapi_object_t *c, (struct lease *)0, (struct option_state *)0, (struct option_state *)0, + &global_scope, host -> fixed_addr)) { status = omapi_connection_put_name (c, "ip-address"); if (status != ISC_R_SUCCESS)