Forum Discussion
May 02, 2019
Hello sandiksk.
You have several mistakes in your iRule.
- Set a default condition in your switch sentence (in case of no matching condition)
- Remove ';' characters in your switch options
- You should use static variables in RULE_INIT to be CMP-compatible (see THIS)
-
If you are still having problems with 'debug' variable in logs, try to use a comparation statement like this ->
"
" or "if { $debug != 0 } {
" (to be CMP-compatible)if { $static::debug != 0 } {
KR, Dario.