To add some filter rules in conf file

Simon Hobson dhcp1 at thehobsons.co.uk
Tue Oct 20 06:51:50 UTC 2009


Jeff Haran wrote:

>Well, actually I was thinking more along the lines of the following 
>(my apologies if I've mangled the syntax, just trying to illustrate 
>a point here):
>
>class "red" {
>	match if (option color = "red");
>}
>
>class "fat" {
>	match if (option color != "red") && (option weight = "fat");
>}
>
>class "tall" {
>	match if (option color != "red") && (option weight != "fat") 
>&& (option height = "tall");
>}
>
>class "cold" {
>	match if (option color != "red") && (option weight != "fat") 
>&& (option height != "tall");
>}

I was just thinking that with the complicated setup the OP is after, 
that's quickly going to get very complicated. I still can't figure 
out what the end result is supposed to be though.

-- 
Simon Hobson

Visit http://www.magpiesnestpublishing.co.uk/ for books by acclaimed
author Gladys Hobson. Novels - poetry - short stories - ideal as
Christmas stocking fillers. Some available as e-books.



More information about the dhcp-users mailing list