<div dir="ltr"><div class="gmail_default" style="font-family:verdana,sans-serif">Thanks for your reply.</div><div class="gmail_default" style="font-family:verdana,sans-serif"><br></div><div class="gmail_default" style="font-family:verdana,sans-serif">John</div><div class="gmail_default" style="font-family:verdana,sans-serif">PS, ISC, that's bogus.</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, May 4, 2016 at 1:20 AM, Glenn Satchell <span dir="ltr"><<a href="mailto:glenn.satchell@uniq.com.au" target="_blank">glenn.satchell@uniq.com.au</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">This topic comes up from time to time. Unfortunately there is no way to<br>
remove an option. The best you can currently do is set it to a null or<br>
empty string, but this is not the same as not sending the option.<br>
<br>
regards,<br>
-glenn<br>
<span class=""><br>
On Wed, May 4, 2016 6:11 am, John Hascall wrote:<br>
> I know that options set in more specific scopes override those set in less<br>
> specific scopes, but can I "undo" an option setting? That is, lets<br>
> imagine<br>
> I have this:<br>
><br>
> option option-66 code 66 = text;<br>
><br>
><br>
> and then in a class scope, I have:<br>
><br>
> class "someclass" {<br>
</span>> ​​<br>
> ​ ​<br>
> match substring(hardware, 1, 3);<br>
> ​ ​<br>
><br>
> *option option-66 "blah blah blah";*}<br>
> subclass "<br>
> ​someclass<br>
> " 00:0<br>
> ​1​<br>
> :<br>
> ​02​<br>
<span class="">> ;<br>
><br>
><br>
> I know that, given that host whatever falls in that class scope, that:<br>
><br>
> host whatever {<br>
><br>
</span>> ​ hardware ethernet 00:01:02:03:04:05;​<br>
><br>
> ​<br>
> *option option-66 "fe fi fo fum";*<br>
> }<br>
><br>
><br>
> works<br>
> ​ to change its option​<br>
> , but what if<br>
> ​I ​<br>
> want *host whatever* not to get<br>
> ​ that option at all? How do I do that???<br>
><br>
> host whatever {<br>
> ​ ​<br>
> hardware ethernet 00:01:02:03:04:05;​<br>
><br>
> *no option​ option-66; <== just making this up*<br>
> }<br>
><br>
><br>
> ​Many Thanks!<br>
> John​<br>
> _______________________________________________<br>
> dhcp-users mailing list<br>
> <a href="mailto:dhcp-users@lists.isc.org">dhcp-users@lists.isc.org</a><br>
> <a href="https://lists.isc.org/mailman/listinfo/dhcp-users" rel="noreferrer" target="_blank">https://lists.isc.org/mailman/listinfo/dhcp-users</a><br>
<br>
<br>
_______________________________________________<br>
dhcp-users mailing list<br>
<a href="mailto:dhcp-users@lists.isc.org">dhcp-users@lists.isc.org</a><br>
<a href="https://lists.isc.org/mailman/listinfo/dhcp-users" rel="noreferrer" target="_blank">https://lists.isc.org/mailman/listinfo/dhcp-users</a><br>
</blockquote></div><br></div>