Forum Discussion
KK_172906
Nimbostratus
Oct 13, 2014How to solve the error below
[parse error: PARSE syntax 119 {syntax error in expression " $pm equals “[IP::remote_addr] 80” ": unexpected operator &}][{ $pm equals “[IP::remote_addr] 80” }]
mimlo_61970
Cumulonimbus
Oct 13, 2014I think you need to use eq instead of equals for a string comparison.
KK_172906
Nimbostratus
Oct 13, 2014I tried eq instead of equal. I get the error below
error: [parse error: PARSE syntax 115 {syntax error in expression " $pm eq &8220;[IP::remote_addr] 80&8221; ": unexpected operator &}][{ $pm eq &8220;[IP::remote_addr] 80&8221; }]
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