Forum Discussion
blwavg_10621
Jan 19, 2014Nimbostratus
I get REALLY close after some tweaking:
when CLIENT_ACCEPTED {
set pool test_pool
if { ([IP::addr [IP::client_addr] equals 10.10.2.20]) && if { ([LB::status pool $pool member 192.168.192.168 443] eq "up") }
pool $pool member 192.168.192.168 443
}else { pool $pool
}
}
I still get this error:
Rule [/Common/Client_select] error: /Common/Client_select:5: error: [parse error: extra characters after close-brace][else { pool $pool}]
I cannot for the life of me fine the extra character... I will keep trying to fix. I have copied and pasted from note pad and tried manually wiping out any erroneous characters with no luck.