diff options
author | Christian Grothoff <christian@grothoff.org> | 2018-11-23 17:19:53 +0100 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2018-11-23 17:19:53 +0100 |
commit | 61787bfa37e0ac5998e01d9c4806600033c19c74 (patch) | |
tree | 1ceb843f63aa076682ebfa2de2250dc32ee65004 /src/dv/dv_api.c | |
parent | 4a3be482811fe8ed1502fea2c12a8449b560a99e (diff) | |
download | gnunet-61787bfa37e0ac5998e01d9c4806600033c19c74.tar.gz gnunet-61787bfa37e0ac5998e01d9c4806600033c19c74.zip |
rename fest: use new libgnunetnt instead of old libgnunetats logic for network type classification
Diffstat (limited to 'src/dv/dv_api.c')
-rw-r--r-- | src/dv/dv_api.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/dv/dv_api.c b/src/dv/dv_api.c index 9d73a40c1..17ee2f783 100644 --- a/src/dv/dv_api.c +++ b/src/dv/dv_api.c | |||
@@ -165,7 +165,7 @@ handle_connect (void *cls, | |||
165 | sh->connect_cb (sh->cls, | 165 | sh->connect_cb (sh->cls, |
166 | &cm->peer, | 166 | &cm->peer, |
167 | ntohl (cm->distance), | 167 | ntohl (cm->distance), |
168 | (enum GNUNET_ATS_Network_Type) ntohl (cm->network)); | 168 | (enum GNUNET_NetworkType) ntohl (cm->network)); |
169 | } | 169 | } |
170 | 170 | ||
171 | 171 | ||
@@ -222,7 +222,7 @@ handle_distance_update (void *cls, | |||
222 | sh->distance_cb (sh->cls, | 222 | sh->distance_cb (sh->cls, |
223 | &dum->peer, | 223 | &dum->peer, |
224 | ntohl (dum->distance), | 224 | ntohl (dum->distance), |
225 | (enum GNUNET_ATS_Network_Type) ntohl (dum->network)); | 225 | (enum GNUNET_NetworkType) ntohl (dum->network)); |
226 | } | 226 | } |
227 | 227 | ||
228 | 228 | ||