Match if substring ...

Eduardo Fleury efleury at gmail.com
Wed Jan 14 18:12:52 UTC 2009


Hi Matej,

Can't you test vendor_class_identifer = "Firmware_1" ?

Best Regards
-- 
Eduardo M. Fleury
http://eduardofleury.com

On Wed, Jan 14, 2009 at 3:05 PM, Matej <matej at matnet.net> wrote:

>  Hello,
>
> we have a problem where we must differentiate between different values of
> vendor-class-identifiers and firmware versions for them. The problem is that
> for every v-c-i there is only one right firmware. The
> vendor-class-identifiers are for example "Firmware_1" and "Firmware_1b"
>
> The following class "happens" with both firmware versions
>
> class "something" {
>    match if ( substring (option vendor_class_identifier, 0, 10) = "
> Firmware_1")
> filename = "blahblah"
> }
> which isn't what we want. Is there an option of some sort of exclusive or /
> matching the entire vendor_class_identifier or something like that?
>
> Thank you in advance!
>
> With regards,
> Matej Serc
> matej at matnet.net
>
> _______________________________________________
> dhcp-hackers mailing list
> dhcp-hackers at lists.isc.org
> https://lists.isc.org/mailman/listinfo/dhcp-hackers
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.isc.org/pipermail/dhcp-users/attachments/20090114/642b48d9/attachment.html>


More information about the dhcp-users mailing list