#ifndef lint
static char copyright[] =
-"$Id: memory.c,v 1.34 1997/06/08 04:25:35 mellon Exp $ Copyright (c) 1995, 1996 The Internet Software Consortium. All rights reserved.\n";
+"$Id: memory.c,v 1.35 1997/09/16 18:14:18 mellon Exp $ Copyright (c) 1995, 1996 The Internet Software Consortium. All rights reserved.\n";
#endif /* not lint */
#include "dhcpd.h"
if (!(lease -> flags & ABANDONED_LEASE) &&
comp -> ends > cur_time &&
- ((comp -> uid && (lease -> uid ||
- !(lease -> flags & DYNAMIC_BOOTP_OK)) &&
+ (((comp -> uid && lease -> uid) &&
(comp -> uid_len != lease -> uid_len ||
memcmp (comp -> uid, lease -> uid, comp -> uid_len))) ||
(!comp -> uid &&