Module: sip-router Branch: master Commit: bd8b01b9e236f9b3dbf20a4c3a153057dc8daa52 URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=bd8b01b9...
Author: Juha Heinanen jh@tutpro.com Committer: Juha Heinanen jh@tutpro.com Date: Thu Aug 18 20:04:32 2011 +0300
modules/mtree: added new mode to mt_match()
- Added mode=2 to mt_match() call that instead of setting value of longest matching prefix to a pv, sets values of all matching prefixes to an avp so that value of longest matching prefix is in avp index 0.
---
modules/mtree/README | 67 ++++++++++++++++++++++++++++--------- modules/mtree/doc/mtree.xml | 14 ++++++++ modules/mtree/doc/mtree_admin.xml | 25 ++++++++++++-- modules/mtree/mtree.c | 53 ++++++++++++++++++++++++++++- modules/mtree/mtree_mod.c | 17 +++++++++- 5 files changed, 154 insertions(+), 22 deletions(-)
Diff: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commitdiff;h=bd8b...