Forum Discussion

smp_86112's avatar
smp_86112
Icon for Cirrostratus rankCirrostratus
Feb 18, 2015

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 ...
  • Brad_Parker_139's avatar
    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
        }
    }