attr_filter: remove everything, except the avps1,avp2,..

Arran Cudbard-Bell a.cudbardb at freeradius.org
Thu Sep 24 02:48:17 CEST 2015


> On 23 Sep 2015, at 20:26, Jorge Pereira <jpereiran at gmail.com> wrote:
> 
> Hi,
> 
>   Always when I need to remove some avp from a list, I do something like.
> 
> update <list> {
>    <avp1> !* ANY
>    <avp2> !* ANY
>    .......
> }
> 
> But, I would like to know if exist some way to do in an inverted match.
> something
> like "remove everything, except the avps1,avp2,..."

That'd be the attr_filter module?

Arran Cudbard-Bell <a.cudbardb at freeradius.org>
FreeRADIUS development team

FD31 3077 42EC 7FCD 32FE 5EE2 56CF 27F9 30A8 CAA2

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 872 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <http://lists.freeradius.org/pipermail/freeradius-users/attachments/20150923/7ffaee56/attachment.sig>


More information about the Freeradius-Users mailing list