Forum Discussion
jkreyes_313300
Jun 04, 2018Nimbostratus
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?
- youssef1Jun 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
- jkreyes_313300Jun 05, 2018Nimbostratus
Thanks a lot.