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/transport/plugin_transport_unix.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/transport/plugin_transport_unix.c')
-rw-r--r-- | src/transport/plugin_transport_unix.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/transport/plugin_transport_unix.c b/src/transport/plugin_transport_unix.c index 3d177e703..19961d792 100644 --- a/src/transport/plugin_transport_unix.c +++ b/src/transport/plugin_transport_unix.c | |||
@@ -791,12 +791,12 @@ resend: | |||
791 | * @param session the session | 791 | * @param session the session |
792 | * @return the network type in HBO or #GNUNET_SYSERR | 792 | * @return the network type in HBO or #GNUNET_SYSERR |
793 | */ | 793 | */ |
794 | static enum GNUNET_ATS_Network_Type | 794 | static enum GNUNET_NetworkType |
795 | unix_plugin_get_network (void *cls, | 795 | unix_plugin_get_network (void *cls, |
796 | struct GNUNET_ATS_Session *session) | 796 | struct GNUNET_ATS_Session *session) |
797 | { | 797 | { |
798 | GNUNET_assert (NULL != session); | 798 | GNUNET_assert (NULL != session); |
799 | return GNUNET_ATS_NET_LOOPBACK; | 799 | return GNUNET_NT_LOOPBACK; |
800 | } | 800 | } |
801 | 801 | ||
802 | 802 | ||
@@ -807,12 +807,12 @@ unix_plugin_get_network (void *cls, | |||
807 | * @param address the address | 807 | * @param address the address |
808 | * @return the network type | 808 | * @return the network type |
809 | */ | 809 | */ |
810 | static enum GNUNET_ATS_Network_Type | 810 | static enum GNUNET_NetworkType |
811 | unix_plugin_get_network_for_address (void *cls, | 811 | unix_plugin_get_network_for_address (void *cls, |
812 | const struct GNUNET_HELLO_Address *address) | 812 | const struct GNUNET_HELLO_Address *address) |
813 | 813 | ||
814 | { | 814 | { |
815 | return GNUNET_ATS_NET_LOOPBACK; | 815 | return GNUNET_NT_LOOPBACK; |
816 | } | 816 | } |
817 | 817 | ||
818 | 818 | ||
@@ -982,7 +982,7 @@ unix_demultiplexer (struct Plugin *plugin, | |||
982 | plugin->env->session_start (NULL, | 982 | plugin->env->session_start (NULL, |
983 | session->address, | 983 | session->address, |
984 | session, | 984 | session, |
985 | GNUNET_ATS_NET_LOOPBACK); | 985 | GNUNET_NT_LOOPBACK); |
986 | } | 986 | } |
987 | else | 987 | else |
988 | { | 988 | { |