Forum Discussion
BIG-IP DNS iRule issue with static variable
- Apr 30, 2024
Okay, figured out the issue with the static variable.
If your iRule is a GTM iRule, not an LTM iRule, you need to declare static variables in a fully qualified manner, e.g.
set ::static::some_variable_name
and then call them in a fully qualified manner, .e.g
$::static::some_variable_name
It pays to go back and re-read even the documentation that you think you are familiar with.
Okay, figured out the issue with the static variable.
If your iRule is a GTM iRule, not an LTM iRule, you need to declare static variables in a fully qualified manner, e.g.
set ::static::some_variable_name
and then call them in a fully qualified manner, .e.g
$::static::some_variable_name
It pays to go back and re-read even the documentation that you think you are familiar with.
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