aboutsummaryrefslogtreecommitdiff
path: root/src/transport/gnunet-service-transport.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/transport/gnunet-service-transport.c')
-rw-r--r--src/transport/gnunet-service-transport.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/transport/gnunet-service-transport.c b/src/transport/gnunet-service-transport.c
index d1ef887fd..4687a0907 100644
--- a/src/transport/gnunet-service-transport.c
+++ b/src/transport/gnunet-service-transport.c
@@ -205,8 +205,8 @@ plugin_env_receive_callback (void *cls, const struct GNUNET_PeerIdentity *peer,
205 * * way to communicate with this peer (other peer switched transport) */ 205 * * way to communicate with this peer (other peer switched transport) */
206 break; 206 break;
207 case GNUNET_MESSAGE_TYPE_TRANSPORT_SESSION_DISCONNECT: 207 case GNUNET_MESSAGE_TYPE_TRANSPORT_SESSION_DISCONNECT:
208 /* TODO: do some validation to prevent an attacker from sending 208 /* FIXME: do some validation to prevent an attacker from sending
209 * a fake disconnect message... */ 209 * a fake disconnect message... */
210 GST_neighbours_force_disconnect (peer); 210 GST_neighbours_force_disconnect (peer);
211 break; 211 break;
212 case GNUNET_MESSAGE_TYPE_TRANSPORT_SESSION_KEEPALIVE: 212 case GNUNET_MESSAGE_TYPE_TRANSPORT_SESSION_KEEPALIVE: