summaryrefslogtreecommitdiff
path: root/src/transport/transport_api2_monitor.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2018-11-22 18:37:35 +0100
committerChristian Grothoff <christian@grothoff.org>2018-11-22 18:37:35 +0100
commit67935982582a31e4a75dc431feceee9664bca839 (patch)
tree902431f5318c6a704ff5036b85391dcbb8792054 /src/transport/transport_api2_monitor.c
parentca90313490f4233ce9d209abbdcc2d78d16b8326 (diff)
more work on TNG
Diffstat (limited to 'src/transport/transport_api2_monitor.c')
-rw-r--r--src/transport/transport_api2_monitor.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/transport/transport_api2_monitor.c b/src/transport/transport_api2_monitor.c
index d7b13ec74..3798296c1 100644
--- a/src/transport/transport_api2_monitor.c
+++ b/src/transport/transport_api2_monitor.c
@@ -175,7 +175,7 @@ handle_monitor_data (void *cls,
mi.address = (const char *) &md[1];
mi.nt = (enum GNUNET_ATS_Network_Type) ntohl (md->nt);
- mi.is_inbound = (int) ntohl (md->is_inbound);
+ mi.cs = (enum GNUNET_TRANSPORT_ConnectionStatus) ntohl (md->cs);
mi.num_msg_pending = ntohl (md->num_msg_pending);
mi.num_bytes_pending = ntohl (md->num_bytes_pending);
mi.last_validation = GNUNET_TIME_absolute_ntoh (md->last_validation);