Forum Discussion
Mike_Maher
Mar 02, 2012Nimbostratus
TCL with iRule in v11.1
I have the following iRule that went through an upgrade from 10.2.0 to 11.1, and I now seeing some TCL errors. I am pretty sure it has to do with the way I am referencing the Data Group, but I am not...
hooleylist
Mar 09, 2012Cirrostratus
Hi Misty,
It would be better to create a new post for a new question. Regardless, you can remove the $:: prefix from the data group and replace matchclass with class match:
when CLIENT_ACCEPTED {
if { [IP::addr [IP::client_addr] equals 10.10.10.10 ] or [class match [IP::client_addr] equals ext_net ] } {
pool ssh
} else {
discard
}
}
You could also move the single IP address into the ext_net address data group and remove the IP::addr command.
Aaron
Recent Discussions
Related Content
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects