[SR-Dev] git:andrei/fixups: avp: comments fix

Andrei Pelinescu-Onciul andrei at iptel.org
Thu Nov 27 18:46:25 CET 2008


Module: sip-router
Branch: andrei/fixups
Commit: 70346b5ba3cf7e2c28f61ab8bf7f8d37abec800e
URL:    http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=70346b5ba3cf7e2c28f61ab8bf7f8d37abec800e

Author: Andrei Pelinescu-Onciul <andrei at iptel.org>
Committer: Andrei Pelinescu-Onciul <andrei at iptel.org>
Date:   Thu Nov 27 13:55:24 2008 +0100

avp: comments fix

-  parse_avp_indent comments: 'g' it's an avp "class" and not a "track"

Reported-by: Jan Janak, jan at iptel.org

---

 usr_avp.c |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/usr_avp.c b/usr_avp.c
index eea9894..b5c8455 100644
--- a/usr_avp.c
+++ b/usr_avp.c
@@ -854,10 +854,10 @@ int parse_avp_name( str *name, int *type, int_str *avp_name, int *index)
  *          <id>   = ascii string w/o '[', ']', '.' and '/'
  *          <name> = <id> | '/' regex '/'
  *                   (Note: regex use is deprecated)
- *          <track> = 'f' | 't' | 'g'
- *                   (from, to  or global)
- *          <class> = 'r' | 'u' | 'd' 
- *                    (uri, user or domain)
+ *          <track> = 'f' | 't'
+ *                   (from or to)
+ *          <class> = 'r' | 'u' | 'd' | 'g'
+ *                    (uri, user, domain or global)
  *          <index> = <number> | '-' <number> | ''
  *                    (the avp index, if missing it means AVP_INDEX_ALL, but
  *                     it's use is deprecated)




More information about the sr-dev mailing list