*** From dhcp-server -- To unsubscribe, see the end of this message. ***

I think the following in dhcpdiscover() requires parentheses around it:


                        /* See if we can find an unabandoned lease first. */
                        for (lp = lease; lp; lp = lp -> prev) {
                                if (lp -> ends > cur_time)
                                        break;
>>                              if (!lp -> flags & ABANDONED_LEASE) {
                                        lease = lp;
                                        break;
                                }
                        }

i.e.

|                               if (!(lp -> flags & ABANDONED_LEASE)) {

It doesn't seem to work right without the parens.

Valerie Miller
Process Software



------------------------------------------------------------------------------
To unsubscribe from this list, please visit http://www.fugue.com/dhcp/lists
If you are without web access, or if you are having trouble with the web page,
please send mail to [EMAIL PROTECTED]   Please try to use the web
page first - it will take a long time for your request to be processed by hand.

Archives for this mailing list are available at 
http://www.webnology.com/list-archives/dhcp/dhcp-server

------------------------------------------------------------------------------

Reply via email to