Forum Discussion
Simon_Knox_1115
Nimbostratus
Dec 14, 2005Any one see why this doesn't work?
when CLIENT_ACCEPTED {
set TEST [findclass [IP::remote_addr] $::DBConnections " "]
set SOURCE [IP::remote_addr]
if { [matchclass [IP::remote_addr] eq $::DBConnections] } {
set CHECK "Y...
unRuleY_95363
Dec 14, 2005Historic F5 Account
I'll add that your probably aborting the connection because CHECK is not getting defined as a variable and then when you try to insert the CONN header, it runs into a Tcl error. You should check your /var/log/ltm file for any rule errors - I'll bet you'll find some.
You may want to add this to your if matchclass:
else {
set CHECK "NO"
}
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