vendor-encapsulated-options and Scope

David W. Hankins David_Hankins at isc.org
Thu Dec 11 20:19:14 UTC 2008


On Thu, Dec 11, 2008 at 02:15:11PM -0500, Reissom Beshir wrote:
> Would that work better for scoping?

It works, and it's not much worse than class statements.  It's a
good alternative.

Right now class statements are searched linearly, so it's just like
having an if/elseif chain, except that the linear search of classes
is all done in machine language, whereas dhcpd.conf if/else has to be
interpreted.

At some point if we sort or arrange class statements in a different
structure, there's some hope for improvement (but we'd probably change
or create new syntax to do it for reverse compatibility).

-- 
Ash bugud-gul durbatuluk agh burzum-ishi krimpatul.
Why settle for the lesser evil?	 https://secure.isc.org/store/t-shirt/
-- 
David W. Hankins	"If you don't do it right the first time,
Software Engineer		     you'll just have to do it again."
Internet Systems Consortium, Inc.		-- Jack T. Hankins
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 194 bytes
Desc: not available
URL: <https://lists.isc.org/pipermail/dhcp-users/attachments/20081211/444902a4/attachment-0001.bin>


More information about the dhcp-users mailing list