[Devel] avpops issue

Daniel-Constantin Mierla daniel at voice-system.ro
Mon Sep 12 19:21:39 CEST 2005


Hello,

thanks, you are right, there was a typo when checking the operand flag 
(committed on cvs).

Cheers,
Daniel

On 09/12/05 20:07, Richard Z wrote:

> Hi,
>
> Avpops seems to have an issue with avp_check and fm operator. Our 
> config used to work, but no longer with the new code. I have to make a 
> small change to let it start. I haven't tested the code. Hopefully the 
> change makes sense to someone.
>
> retrieving revision 1.13
> diff -u -r1.13 avpops.c
> --- modules/avpops/avpops.c     9 Sep 2005 19:34:06 -0000       1.13
> +++ modules/avpops/avpops.c     12 Sep 2005 17:03:21 -0000
> @@ -729,7 +729,7 @@
>                         pkg_free(ap->val.s);
>                         ap->val.s = (str*)re;
>                 } else if (ap->ops&AVPOPS_OP_FM) {
> -                       if ( !( ap->ops&AVPOPS_VAL_AVP ||
> +                       if ( !( ap->opd&AVPOPS_VAL_AVP ||
>                         (!(ap->opd&AVPOPS_VAL_AVP) && 
> ap->opd&AVPOPS_VAL_STR) ) )
>                         {
>                                 
> LOG(L_ERR,"ERROR:avpops:fixup_check_avp: fast_match operation "
>
> Thanks,
> Richard
>
>------------------------------------------------------------------------
>
>_______________________________________________
>Devel mailing list
>Devel at openser.org
>http://openser.org/cgi-bin/mailman/listinfo/devel
>  
>



More information about the Devel mailing list