Forum Discussion
smp_86112
Feb 18, 2015Cirrostratus
Check to see if [RADIUS::avp 31 string] exists
Hi. I found out about some unexpected behavior today as a result of this iRule:
when CLIENT_ACCEPTED {
persist uie "[RADIUS::avp 31 string]" 900
}
The problem I found is that the LTM sends ...
- 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 } }
smp_86112
Feb 18, 2015Cirrostratus
Ugh, I am very bad at this iRule syntax.
It seems to compile...I'll try it and post the results. Thanks a lot for the quick response!
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