s3s1277_111291
Jan 24, 2013Nimbostratus
Issue with class match
on version 10.2 LTM, I am trying to add this irule and its' failing with below error. i have no doubt i am missing something very simple. can someone help?
error: line 3: [can't find value_list] [class match $srcip equals class1
b class class1 list
class class1 {
{
host 10.1.1.1
host 10.1.1.2
}
}
when CLIENT_ACCEPTED {
set srcip [IP::client_addr]
if { ! [class match $srcip equals class1] } {
pool pool1
log local0. "$srcip didnt match."
}
else {
log local0. "$srcip matched."
pool pool2
}
}
error: line 3: [can't find value_list] [class match $srcip equals class1