APM variable assign examples
Updated Jun 06, 2023
Version 2.0Was this article helpful?
what would be the expression to check if the IP belongs to a specific subnet ? thx in advance
That does not work:
set current_ip [mcget session.user.clientip}] ;
if { $current_ip equals "172.20.0.0/16" } then {
return 1 ;
} else {
return 0 ;
} ;