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_89166
Noctilucent
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.
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)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
