APM Cookbook: On-Demand VPN for iOS Devices
Overview
I’ve been using On-Demand VPN for a number of years as it’s a secure and easy way to access applications while on the road with the added benefit of conserving device battery life when id...
Smithy
Cirrostratus
Joined July 31, 2011
Toby_Garcia_146
Altostratus
10 years agoFound a TCL syntax error in the ‘Variable Assignment 3’ iRule, used to populate session.logon.last.upn. It worked properly in 11.4.1, but stopped working after upgrading to 11.6.0. There is a missing semicolon between the final curly brace and return.
Here's the corrected expression:
set e_fields [split [mcget {session.ssl.cert.x509extension}] "\n"]; foreach qq $e_fields { if {[string first "othername:UPN" $qq] >= 0} { return [string range $qq [expr { [string first "<" $qq] + 1 } ] [expr { [string first ">" $qq] - 1 } ] ]; } }; return "";
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)