summaryrefslogtreecommitdiff
path: root/src/transport/transport_api2_monitor.c
diff options
context:
space:
mode:
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);