Forum Discussion
Mariusz_B
Nimbostratus
Feb 17, 2015iRule - wrong variable definition ?
Hi all,
I have the following iRule, which in terms of syntax is fine:
when DNS_REQUEST {
switch [IP::remote_addr] {
"10.10.1.32/27" -
"10.10.1.64/27" -
"10.10.1.16...
nitass
Employee
Feb 19, 2015what Brad means is if source is not in 10.10.1.32/27, 10.10.1.64/27, 10.10.1.160/27 or 10.10.1.192/27 subnet, status or status_vs variable will not be created and tcl will throw an error when checking it in if-condition ($status equals "up").
- Brad_ParkerFeb 19, 2015
Cirrus
That's exactly what I'm saying. If you don't instantiate the variable at some point you will get the TCL errors.
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