diff options
author | Matthias Wachs <wachs@net.in.tum.de> | 2013-10-18 15:37:03 +0000 |
---|---|---|
committer | Matthias Wachs <wachs@net.in.tum.de> | 2013-10-18 15:37:03 +0000 |
commit | e7d3bc3354b7d3cba8a9482afc742e1ffe342afe (patch) | |
tree | bea4286a51854108906a87c2b5af0f245dcd60f8 /src/ats-tests/perf_ats.c | |
parent | d8607a202a02d672ebd5375694c389027ce3b8e2 (diff) | |
download | gnunet-e7d3bc3354b7d3cba8a9482afc742e1ffe342afe.tar.gz gnunet-e7d3bc3354b7d3cba8a9482afc742e1ffe342afe.zip |
fix
Diffstat (limited to 'src/ats-tests/perf_ats.c')
-rw-r--r-- | src/ats-tests/perf_ats.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ats-tests/perf_ats.c b/src/ats-tests/perf_ats.c index ebafa442c..1b82b4ac7 100644 --- a/src/ats-tests/perf_ats.c +++ b/src/ats-tests/perf_ats.c | |||
@@ -942,13 +942,13 @@ ats_performance_info_cb (void *cls, const struct GNUNET_HELLO_Address *address, | |||
942 | { | 942 | { |
943 | case GNUNET_ATS_ARRAY_TERMINATOR: | 943 | case GNUNET_ATS_ARRAY_TERMINATOR: |
944 | break; | 944 | break; |
945 | case GNUNET_ATS_UTILIZATION_UP: | 945 | case GNUNET_ATS_UTILIZATION_OUT: |
946 | if (p->ats_utilization_up != ntohl (ats[c_a].value)) | 946 | if (p->ats_utilization_up != ntohl (ats[c_a].value)) |
947 | log = GNUNET_YES; | 947 | log = GNUNET_YES; |
948 | p->ats_utilization_up = ntohl (ats[c_a].value); | 948 | p->ats_utilization_up = ntohl (ats[c_a].value); |
949 | 949 | ||
950 | break; | 950 | break; |
951 | case GNUNET_ATS_UTILIZATION_DOWN: | 951 | case GNUNET_ATS_UTILIZATION_IN: |
952 | if (p->ats_utilization_down != ntohl (ats[c_a].value)) | 952 | if (p->ats_utilization_down != ntohl (ats[c_a].value)) |
953 | log = GNUNET_YES; | 953 | log = GNUNET_YES; |
954 | p->ats_utilization_down = ntohl (ats[c_a].value); | 954 | p->ats_utilization_down = ntohl (ats[c_a].value); |