Forum Discussion
Vijay_E
Mar 24, 2017Cirrus
Don't use quotes for the datagroup/class:
if { !([class match $CHECK_IP eq "DG-ALLOWED-IP-XFF"]) } {
should be:
if { !([class match $CHECK_IP eq DG-ALLOWED-IP-XFF]) } {
If the above doesn't work, try using catch:
if { !([catch {class match $CHECK_IP eq DG-ALLOWED-IP-XFF} ]) } {
For troubleshooting purposes use "log local0." statement in order to capture the incoming request value.