Forum Discussion
Check to see if [RADIUS::avp 31 string] exists
- Feb 18, 2015
Does [RADIUS::avp 31] possibly return as an empty string, "", if it returns nothing? I would add a log local0. "radius 31 is [RADIUS::avp 31]." And test the scenario to see if returns an empty string. If it is, your if can be
If { not ([RADIUS::avp 31 string] equals "") } { persist uie "[RADIUS::avp 31 string]" 900 } }
The original iRule fails like this:
- attempt to use empty persistence key (line 2) invoked from within "persist uie "[RADIUS::avp 31 string]" 900
I'm not experienced enough to know if that translates to being an empty string or not. In any case, I have lots of explaining to do to lots of business people now. It'll be awhile before I'm allowed to try and fix this. I should have done a better job of isolating my test of this change from other traffic, and I will do that next time.
I'll post an update when I have something. Thanks for your willingness to help.
Recent Discussions
Related Content
* 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