diff options
Diffstat (limited to 'src/transport/plugin_transport_tcp.c')
-rw-r--r-- | src/transport/plugin_transport_tcp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/transport/plugin_transport_tcp.c b/src/transport/plugin_transport_tcp.c index 03f6528d2..025554a26 100644 --- a/src/transport/plugin_transport_tcp.c +++ b/src/transport/plugin_transport_tcp.c | |||
@@ -2391,7 +2391,7 @@ int tcp_get_network (void *cls, | |||
2391 | { | 2391 | { |
2392 | struct Session *s = (struct Session *) session; | 2392 | struct Session *s = (struct Session *) session; |
2393 | GNUNET_assert (NULL != session); | 2393 | GNUNET_assert (NULL != session); |
2394 | return s->ats_address_network_type; | 2394 | return ntohl(s->ats_address_network_type); |
2395 | } | 2395 | } |
2396 | 2396 | ||
2397 | 2397 | ||