A Syntax issue with match

Simon Hobson dhcp1 at thehobsons.co.uk
Fri Nov 19 17:03:57 UTC 2010


Martin McCormick wrote:

>#Point of Sale terminals
>class "POS-terminals" {
>match if ((substring (option host-name,0,6) = "TEST2C") & (substring 
>(hardware,0,4) = 1:0:A9:A2));
>}

What happens if you use the three letters "and" instead of "&" ?

-- 
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