APM variable assign examples
Problem this snippet solves: APM variable assign is a powerful tool to manipulate APM variable during policy evaluation supporting tcl code.
On Devcentral answers, there are lots of variable assig...
Updated Jun 06, 2023
Version 2.0Stanislas_Piro2
Cumulonimbus
Joined January 04, 2011
Stanislas_Piro2
Mar 06, 2019Cumulonimbus
@steph,
Try this expression
expr { [IP::addr [mcget {session.user.clientip}] equals "172.20.0.0/16"] }
The expr command returns 1 if expression is true, 0 if expression is false.