mirror of
https://github.com/servalproject/serval-dna.git
synced 2025-04-07 11:08:36 +00:00
fixed compiler warning and removed WHOOP debug message.
This commit is contained in:
parent
2a2f8d752f
commit
87610c18f5
1
mphlr.h
1
mphlr.h
@ -844,3 +844,4 @@ extern int overlay_bin_bytes;
|
||||
extern overlay_node **overlay_nodes;
|
||||
|
||||
int overlay_route_saw_advertisements(int i,overlay_frame *f, long long now);
|
||||
int overlay_route_please_advertise(overlay_node *n);
|
||||
|
@ -787,8 +787,6 @@ int overlay_route_recalc_neighbour_metrics(overlay_neighbour *n,long long now)
|
||||
|
||||
n->scores[i]=score;
|
||||
if (debug>3&&score) fprintf(stderr,"Neighbour score on interface #%d = %d (observations for %dms)\n",i,score,ms_observed[i]);
|
||||
if (score&&i)
|
||||
fprintf(stderr,"WHOOP!\n");
|
||||
}
|
||||
|
||||
return 0;
|
||||
|
Loading…
x
Reference in New Issue
Block a user