Forum Discussion
Mike_Maher
Nimbostratus
Mar 02, 2012TCL 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...
hoolio
Cirrostratus
Mar 09, 2012Hi 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
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)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