wu123ming_99156
Jul 16, 2008Nimbostratus
Global 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??