mirror of
https://github.com/ntop/n2n.git
synced 2024-09-20 00:51:10 +02:00
typo
'0' is legit load or ping
This commit is contained in:
parent
aa18bd3036
commit
12e81c6be3
|
@ -163,7 +163,7 @@ extern char * sn_selection_criterion_str (selection_criterion_str_t out, peer_in
|
|||
}
|
||||
memset(out, 0, SN_SELECTION_CRITERION_BUF_SIZE);
|
||||
|
||||
if(peer->selection_criterion > 0) {
|
||||
if(peer->selection_criterion >= 0) {
|
||||
#ifndef SN_SELECTION_RTT
|
||||
snprintf(out, SN_SELECTION_CRITERION_BUF_SIZE, "load = %8d", peer->selection_criterion);
|
||||
#else
|
||||
|
|
Loading…
Reference in New Issue
Block a user