Forum Discussion
jkreyes_313300
Nimbostratus
Hi Stanislas,
For the expression
expr { [mcget {session.client.hostname}] contains "HTPA387" }
If i want to allow multiple hostnames, which adding additional branches are not efficient, how can i just add the list of hostnames?
youssef1
Jun 04, 2018Cumulonimbus
Hi,
If you want to add add list of hostname, you can do this:
expr { [mcget {session.client.hostname}] contains "HTPA387" || [mcget {session.client.hostname}] contains "hostname2" || [mcget {session.client.hostname}] contains "hostname3" }
Regards