Forum Discussion
wu123ming_99156
Nimbostratus
Jul 16, 2008Global variable does't work in GTM irule???
A simple example:
when RULE_INIT {
set ::i 0
}
when DNS_REQUEST {
log local2. "Global variable $::i"
}
the /var/log/gtm loged the error as follow:
011a7001:3: TCL error: Rule test - can't read "::i": no such variable while executing "log local2. "Global variable $::i""
why??
- hoolio
Cirrostratus
Apparently, RULE_INIT isn't triggered in GTM. Click here for some detail. It's noted in CR95407. - Nicolas_Menant
Employee
HI,
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