[RADIATOR] Remove Attribute from Reply
Ian Mordey
ian.mordey at griffin.com
Tue Oct 26 06:18:34 CDT 2010
Thanks Christian. This appears to do what I need to do.
-----Original Message-----
From: Christian Kratzer [mailto:ck at cksoft.de]
Sent: 26 October 2010 12:14
To: Ian Mordey
Cc: radiator at open.com.au
Subject: Re: [RADIATOR] Remove Attribute from Reply
Hi,
On Tue, 26 Oct 2010, Ian Mordey wrote:
> Hi there
>
> Is there a way of removing an attribute from a reply? I have a
> radiator box sending:
>
> cisco-avpair = "ip:dns-servers=XXXXXXX"
>
> in the response. I'd like to stop it sending this as I have it covered
> in a PostAuthSelectHook file. I've seen the AddToReply. Is there an
> opposite of this?
there is StripFromReply so you could use
StripFromReply cisco-avpair
This will remove any cisco-avpair though so if you need to keep some
cisco-avpairs or need to strip ip:dns-server possible embedded in a
longer cisco-avpair you will probably have to use a hook and operate on
the string.
Greetings
Christian
>
>
>
> Thanks
>
> Ian
>
>
--
Christian Kratzer CK Software GmbH
Email: ck at cksoft.de Wildberger Weg 24/2
Phone: +49 7032 893 997 - 0 D-71126 Gaeufelden
Fax: +49 7032 893 997 - 9 HRB 245288, Amtsgericht Stuttgart
Web: http://www.cksoft.de/ Geschaeftsfuehrer: Christian
Kratzer
More information about the radiator
mailing list