Forum Discussion
Chris_Miller
Aug 17, 2010Altostratus
Posted By iRuleYou on 08/17/2010 10:45 AM
hmmm when I was first figuring out findclass hoolio had an example with using set, and I've been using it ever since... do you need it for findclass and not matchclass?
The code I posted compiled fine but did not work.. I'll give it a try without setting my host..
When doing class searches, you'd typically use "set" if you wanted to set a variable to the value that corresponds with a data group entry. If you're simply checking whether the host exists in the data group, all you need is the "if, eq"