- Encapsulated option spaces within encapsulated option spaces is now
formally supported.
+ Changes since 3.0.5
+
+- A logic error in omapi interface code was repaired that might result in
+ incorrectly indicating 'up' state when any flags were set, rather than
+ specifically the INTERFACE_REQUESTED flag.
+
Changes since 3.0.5rc1
- A bug was repaired in fixes to the dhclient, which sought to run the
#ifndef lint
static char copyright[] =
-"$Id: discover.c,v 1.51 2006/08/09 14:57:47 dhankins Exp $ Copyright (c) 2004-2006 Internet Systems Consortium. All rights reserved.\n";
+"$Id: discover.c,v 1.52 2006/11/07 23:40:14 dhankins Exp $ Copyright (c) 2004-2006 Internet Systems Consortium. All rights reserved.\n";
#endif /* not lint */
#include "dhcpd.h"
status = omapi_connection_put_name (c, "state");
if (status != ISC_R_SUCCESS)
return status;
- if (interface -> flags && INTERFACE_REQUESTED)
+ if ((interface->flags & INTERFACE_REQUESTED) != 0)
status = omapi_connection_put_string (c, "up");
else
status = omapi_connection_put_string (c, "down");