[sr-dev] git:master: modules/mtree: added new mode to mt_match()

Juha Heinanen jh at tutpro.com
Fri Aug 19 20:38:56 CEST 2011


Klaus Darilion writes:

> In mode 2, how are the values added? Will every matching entry be added 
> as an AVP so that there is an AVP-Array, or will there be just one AVP, 
> with all the values joined together?

i tried to tell that in README:

   If 'mtree' consists of string values (mtree type = 0) and value of 'mode'
   is 2, sets values of all matching prefixes to avp specified by
   pv_values parameter so that value of longest matching prefix is in avp
   index 0.

i.e., the avp is an array.

-- juha



More information about the sr-dev mailing list