Forum Discussion
Colin_Walker_12
Jun 22, 2011Historic F5 Account
Yeah, it would end up looking like
when HTTP_REQUEST {
Skip the URI checking if the client IP is allowed
if {[info exists allowed_ip]} {
Exit this event in this rule
return
}
...
This performs the same check but uses a function to do so (the info command) rather than just innately evaluating the variable which, if it doesn't exist, will throw an error like the one you're seeing.
Colin