#ifndef lint
static char copyright[] =
-"$Id: dhcp.c,v 1.45 1997/03/06 19:30:52 mellon Exp $ Copyright (c) 1995, 1996 The Internet Software Consortium. All rights reserved.\n";
+"$Id: dhcp.c,v 1.46 1997/03/06 20:23:27 mellon Exp $ Copyright (c) 1995, 1996 The Internet Software Consortium. All rights reserved.\n";
#endif /* not lint */
#include "dhcpd.h"
if (uid_lease -> shared_network == share)
break;
fixed_lease = (struct lease *)0;
- if (uid_lease && uid_lease -> flags & ABANDONED_LEASE)
+ if (uid_lease &&
+ (uid_lease -> flags & ABANDONED_LEASE))
uid_lease = (struct lease *)0;
}
} else {
for (; hw_lease; hw_lease = hw_lease -> n_hw)
if (hw_lease -> shared_network == share)
break;
- if (hw_lease && hw_lease -> flags & ABANDONED_LEASE)
+ if (hw_lease && (hw_lease -> flags & ABANDONED_LEASE))
hw_lease = (struct lease *)0;
/* Try to find a lease that's been allocated to the client's