Forum Discussion
Charlie__14964
Nimbostratus
Dec 05, 2008spam defender Maxxonnect
Hallo guy’s
We have a need for E-Mail security as a .
I’m trying to write an iRule for “friend mail” which you can send from our web page,
(send these page to my friend) the us...
Colin_Walker_12
Dec 09, 2008Historic F5 Account
It looks like this has something to do with the way TCL is trying to interpret your array call within the expr command context. You might try either adding some quotes or brackets around the actual array call itself, or perhaps setting a local variable to the value of the array call before comparing the values with expr.
set tempVal [$::spammers($clientip)]
if { $::blocktime > [expr { $now - $tempVal } ] } {
Something like that, perhaps. The syntax you're using looks correct, and the data is obviously there if it's passing the if exists call, so it's got to be an interpreter oddity within the expr command string itself.
Colin
Colin
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
