chiark
/
gitweb
/
~yarrgweb
/
ypp-sc-tools.main.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
routesearch: debugging newbest counters split by granu too
[ypp-sc-tools.main.git]
/
yarrg
/
rssearch.c
diff --git
a/yarrg/rssearch.c
b/yarrg/rssearch.c
index 5ad6136180fa528ab220c06b8c74ad78771954af..74a2f4504feb0840444a3da69cbd166333010aa5 100644
(file)
--- a/
yarrg/rssearch.c
+++ b/
yarrg/rssearch.c
@@
-149,7
+149,7
@@
static double process_route(int nports, int totaldist,
debugf(" ");
} else {
int pos;
- ctr_newbests_granu[ap]++;
+ ctr_newbests_granu[
granui*AP+
ap]++;
bucket->value[ap]= value[ap];
memcpy(bucket->ports[ap], ports, sizeof(*ports) * nports);
if (nports < MAX_ROUTELEN-1) bucket->ports[ap][nports]= -1;