Forum Discussion
need help with iRule after migrated to ver 11
one of my iRule showing below error after migrating from ver 10.2.4 to ver 11, below is the error, please help
can't read "static::C_RETURN": no such variable while executing "set respAction $static::C_RETURN"
2 Replies
- Pedro_HaoaRet. Employee
Hi,
Remember that in version 11, the iRules syntax changed (Folders).
So check the rule and verifies that the objects are associated with the correct folder.
Ex.: when HTTP_REQUEST { if { [[HTTP::header User-Agent] contains “MSIE”] } { pool /Common/IE_pool } elseif { [[HTTP::header User-Agent] contains “Mozilla”] } { pool /Common/MZ_pool } else /Common/other_pool
} - Kevin_Stewart
Employee
While it might be entirely possible that folder designation could be the issue if using multiple partitions, that wouldn't or shouldn't be the case if using the common partition. How are you setting this global variable? Can you post your iRule?
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)Recent Discussions
Related Content
* 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