Option negation
Glenn Satchell
glenn.satchell at uniq.com.au
Wed May 4 06:20:19 UTC 2016
This topic comes up from time to time. Unfortunately there is no way to
remove an option. The best you can currently do is set it to a null or
empty string, but this is not the same as not sending the option.
regards,
-glenn
On Wed, May 4, 2016 6:11 am, John Hascall wrote:
> I know that options set in more specific scopes override those set in less
> specific scopes, but can I "undo" an option setting? That is, lets
> imagine
> I have this:
>
> option option-66 code 66 = text;
>
>
> and then in a class scope, I have:
>
> class "someclass" {
> ââ
> â â
> match substring(hardware, 1, 3);
> â â
>
> *option option-66 "blah blah blah";*}
> subclass "
> âsomeclass
> " 00:0
> â1â
> :
> â02â
> ;
>
>
> I know that, given that host whatever falls in that class scope, that:
>
> host whatever {
>
> â hardware ethernet 00:01:02:03:04:05;â
>
> â
> *option option-66 "fe fi fo fum";*
> }
>
>
> works
> â to change its optionâ
> , but what if
> âI â
> want *host whatever* not to get
> â that option at all? How do I do that???
>
> host whatever {
> â â
> hardware ethernet 00:01:02:03:04:05;â
>
> *no optionâ option-66; <== just making this up*
> }
>
>
> âMany Thanks!
> Johnâ
> _______________________________________________
> dhcp-users mailing list
> dhcp-users at lists.isc.org
> https://lists.isc.org/mailman/listinfo/dhcp-users
More information about the dhcp-users
mailing list