diff options
Diffstat (limited to 'src/transport/transport_api2_monitor.c')
-rw-r--r-- | src/transport/transport_api2_monitor.c | 2 |
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, | |||
175 | 175 | ||
176 | mi.address = (const char *) &md[1]; | 176 | mi.address = (const char *) &md[1]; |
177 | mi.nt = (enum GNUNET_ATS_Network_Type) ntohl (md->nt); | 177 | mi.nt = (enum GNUNET_ATS_Network_Type) ntohl (md->nt); |
178 | mi.is_inbound = (int) ntohl (md->is_inbound); | 178 | mi.cs = (enum GNUNET_TRANSPORT_ConnectionStatus) ntohl (md->cs); |
179 | mi.num_msg_pending = ntohl (md->num_msg_pending); | 179 | mi.num_msg_pending = ntohl (md->num_msg_pending); |
180 | mi.num_bytes_pending = ntohl (md->num_bytes_pending); | 180 | mi.num_bytes_pending = ntohl (md->num_bytes_pending); |
181 | mi.last_validation = GNUNET_TIME_absolute_ntoh (md->last_validation); | 181 | mi.last_validation = GNUNET_TIME_absolute_ntoh (md->last_validation); |