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/hello | |
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/hello')
-rw-r--r-- | src/hello/hello-ng.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/hello/hello-ng.c b/src/hello/hello-ng.c index fcd1808f4..a16ceb944 100644 --- a/src/hello/hello-ng.c +++ b/src/hello/hello-ng.c | |||
@@ -62,7 +62,7 @@ struct SignedAddress | |||
62 | */ | 62 | */ |
63 | void | 63 | void |
64 | GNUNET_HELLO_sign_address (const char *address, | 64 | GNUNET_HELLO_sign_address (const char *address, |
65 | enum GNUNET_ATS_Network_Type nt, | 65 | enum GNUNET_NetworkType nt, |
66 | struct GNUNET_TIME_Absolute expiration, | 66 | struct GNUNET_TIME_Absolute expiration, |
67 | const struct GNUNET_CRYPTO_EddsaPrivateKey *private_key, | 67 | const struct GNUNET_CRYPTO_EddsaPrivateKey *private_key, |
68 | void **result, | 68 | void **result, |
@@ -110,7 +110,7 @@ char * | |||
110 | GNUNET_HELLO_extract_address (const void *raw, | 110 | GNUNET_HELLO_extract_address (const void *raw, |
111 | size_t raw_size, | 111 | size_t raw_size, |
112 | const struct GNUNET_CRYPTO_EddsaPublicKey *public_key, | 112 | const struct GNUNET_CRYPTO_EddsaPublicKey *public_key, |
113 | enum GNUNET_ATS_Network_Type *nt, | 113 | enum GNUNET_NetworkType *nt, |
114 | struct GNUNET_TIME_Absolute *expiration) | 114 | struct GNUNET_TIME_Absolute *expiration) |
115 | { | 115 | { |
116 | const char *raws = raw; | 116 | const char *raws = raw; |
@@ -188,6 +188,6 @@ GNUNET_HELLO_extract_address (const void *raw, | |||
188 | } | 188 | } |
189 | GNUNET_free (sig); | 189 | GNUNET_free (sig); |
190 | *expiration = raw_expiration; | 190 | *expiration = raw_expiration; |
191 | *nt = (enum GNUNET_ATS_Network_Type) raw_nt; | 191 | *nt = (enum GNUNET_NetworkType) raw_nt; |
192 | return GNUNET_strdup (raw_addr); | 192 | return GNUNET_strdup (raw_addr); |
193 | } | 193 | } |