From 61787bfa37e0ac5998e01d9c4806600033c19c74 Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Fri, 23 Nov 2018 17:19:53 +0100 Subject: rename fest: use new libgnunetnt instead of old libgnunetats logic for network type classification --- src/hello/hello-ng.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/hello/hello-ng.c') 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 */ void GNUNET_HELLO_sign_address (const char *address, - enum GNUNET_ATS_Network_Type nt, + enum GNUNET_NetworkType nt, struct GNUNET_TIME_Absolute expiration, const struct GNUNET_CRYPTO_EddsaPrivateKey *private_key, void **result, @@ -110,7 +110,7 @@ char * GNUNET_HELLO_extract_address (const void *raw, size_t raw_size, const struct GNUNET_CRYPTO_EddsaPublicKey *public_key, - enum GNUNET_ATS_Network_Type *nt, + enum GNUNET_NetworkType *nt, struct GNUNET_TIME_Absolute *expiration) { const char *raws = raw; @@ -188,6 +188,6 @@ GNUNET_HELLO_extract_address (const void *raw, } GNUNET_free (sig); *expiration = raw_expiration; - *nt = (enum GNUNET_ATS_Network_Type) raw_nt; + *nt = (enum GNUNET_NetworkType) raw_nt; return GNUNET_strdup (raw_addr); } -- cgit v1.2.3