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

>    - Use netmask from subnet if no netmask option specified.
> 
>    I thought it did this all along?

In some cases yes, in some cases no.   This just made it happen in all
cases.   The main case where it didn't happen was for BOOTP clients.

>    - Allow host declarations without names.
> 
>    I tried putting a host declaration into the dhcpd.conf file without
>    a name and it gave me an error. Is this supported?

I undid that change - it turned out to probably be a mistake.

>    It looks to me like this loop does not check the last entry in the subnets
>    list for subnet_inner_than().

I think there was some reason why I was able to rationalize this, but
it looks wrong to me too and I can't explain why it's okay.   The
following code is probably more correct:

                u = (struct subnet *)0;
                for (t = share -> subnets; t; t = t -> next_sibling) {
                        if (subnet_inner_than (subnet, t, 0)) {
                                if (u)
                                        u -> next_sibling = subnet;
                                else
                                        share -> subnets = subnet;
                                subnet -> next_sibling = t;
                                return;
                        }
                        u = t;
                }
                u -> next_sibling = subnet;

In reality, this is very specialized code that is unlikely to have any
effect in a production environment - it only makes a difference if you
have two subnets with the same network number and different subnet
masks on the same network segment.

                               _MelloN_


------------------------------------------------------------------------------
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