[RADIATOR] Client StripFromReply

Robert Blayzor rblayzor.bulk at inoc.net
Fri Apr 26 15:50:58 UTC 2019


I currently have to strip a specific attribute from reply back to a
client. StripFromReply seems to remove ALL attributes that match when
they appear one or many times.


ie:

   StripFromReply       cisco-avpair



We may have several "cisco-avpair" returned back to the client. How
would you go about stripping a attribute with only a specific value?

So in an auth request if a attribute was added...

  cisco-avpair = "ip:addr-pool=null0"


How would you go about removing only that one? I assume the only way to
do this would be in a hook?

-- 
inoc.net!rblayzor
XMPP: rblayzor.AT.inoc.net
PGP:  https://inoc.net/~rblayzor/



More information about the radiator mailing list