diff options
Diffstat (limited to 'src/mesh/gnunet-service-mesh_local.c')
-rw-r--r-- | src/mesh/gnunet-service-mesh_local.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mesh/gnunet-service-mesh_local.c b/src/mesh/gnunet-service-mesh_local.c index 099a55e26..8b66517d0 100644 --- a/src/mesh/gnunet-service-mesh_local.c +++ b/src/mesh/gnunet-service-mesh_local.c | |||
@@ -1008,7 +1008,7 @@ GML_send_channel_create (struct MeshClient *c, | |||
1008 | struct GNUNET_MESH_ChannelMessage msg; | 1008 | struct GNUNET_MESH_ChannelMessage msg; |
1009 | 1009 | ||
1010 | msg.header.size = htons (sizeof (msg)); | 1010 | msg.header.size = htons (sizeof (msg)); |
1011 | msg.header.type = htons (GNUNET_MESSAGE_TYPE_MESH_LOCAL_TUNNEL_CREATE); | 1011 | msg.header.type = htons (GNUNET_MESSAGE_TYPE_MESH_CHANNEL_CREATE); |
1012 | msg.channel_id = htonl (id); | 1012 | msg.channel_id = htonl (id); |
1013 | msg.port = htonl (port); | 1013 | msg.port = htonl (port); |
1014 | msg.opt = htonl (opt); | 1014 | msg.opt = htonl (opt); |
@@ -1037,7 +1037,7 @@ GML_send_channel_destroy (struct MeshClient *c, uint32_t id) | |||
1037 | if (GNUNET_YES == c->shutting_down) | 1037 | if (GNUNET_YES == c->shutting_down) |
1038 | return; | 1038 | return; |
1039 | msg.header.size = htons (sizeof (msg)); | 1039 | msg.header.size = htons (sizeof (msg)); |
1040 | msg.header.type = htons (GNUNET_MESSAGE_TYPE_MESH_LOCAL_TUNNEL_DESTROY); | 1040 | msg.header.type = htons (GNUNET_MESSAGE_TYPE_MESH_CHANNEL_DESTROY); |
1041 | msg.channel_id = htonl (id); | 1041 | msg.channel_id = htonl (id); |
1042 | msg.port = htonl (0); | 1042 | msg.port = htonl (0); |
1043 | memset (&msg.peer, 0, sizeof (msg.peer)); | 1043 | memset (&msg.peer, 0, sizeof (msg.peer)); |