Module: sip-router
Branch: master
Commit: d8803270678b730a7f7352c90f475188fca50c2c
URL:
http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=d880327…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: Fri Nov 26 13:07:08 2010 +0100
avpops: use proper avp list for avp_print()
- reported by Alex Hermann - FS#104
---
modules/avpops/avpops_impl.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/modules/avpops/avpops_impl.c b/modules/avpops/avpops_impl.c
index 38edc44..bf1e822 100644
--- a/modules/avpops/avpops_impl.c
+++ b/modules/avpops/avpops_impl.c
@@ -687,7 +687,7 @@ int ops_dbstore_avps (struct sip_msg* msg, struct fis_param *sp,
}
} else {
/* avp name is unknown -> go through all list */
- avp_list = get_avp_list(AVP_TRACK_FROM | AVP_CLASS_USER);
+ avp_list = get_avp_list(AVP_TRACK_FROM | AVP_CLASS_URI);
avp = avp_list;
for ( ; avp ; avp=avp->next )
@@ -784,7 +784,7 @@ int ops_delete_avp(struct sip_msg* msg, struct fis_param *ap)
} else {
/* avp name is not given - we have just flags */
/* -> go through all list */
- avp_list = get_avp_list(AVP_TRACK_FROM | AVP_CLASS_USER);
+ avp_list = get_avp_list(AVP_TRACK_FROM | AVP_CLASS_URI);
avp = avp_list;
for ( ; avp ; avp=avp_next )
@@ -1320,7 +1320,7 @@ int ops_print_avp(void)
str *name;
/* go through all list */
- avp_list = get_avp_list(AVP_TRACK_FROM | AVP_CLASS_USER);
+ avp_list = get_avp_list(AVP_TRACK_FROM | AVP_CLASS_URI);
avp = avp_list;
for ( ; avp ; avp=avp->next)