[SR-Users] LCR "weight" column question

Juha Heinanen jh at tutpro.com
Thu Sep 23 20:53:22 CEST 2010


Ricardo Martinez writes:

> I’m observing something like this : (these are “Simmultaneous calls”
> graphs)

ricardo,

my email client does not know to display your data, but weight is
assigned to gws like this:

matched_gws[gw_index].weight = t->weight * (rand() >> 8);

where t->weight comes from db table.  then the gws are sorted based on
prefix length, priority and the above weight value.

-- juha



More information about the sr-users mailing list