[Devel] avpops issue

Richard Z rzheng at gmail.com
Mon Sep 12 19:07:12 CEST 2005


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://openser.org/pipermail/devel/attachments/20050912/f85a0758/attachment.htm


More information about the Devel mailing list