aboutsummaryrefslogtreecommitdiff
path: root/src/transport/gnunet-service-transport_validation.c
diff options
context:
space:
mode:
authorMatthias Wachs <wachs@net.in.tum.de>2013-03-28 15:14:38 +0000
committerMatthias Wachs <wachs@net.in.tum.de>2013-03-28 15:14:38 +0000
commitb3883971cd31d198dbd768fffb15960dff0352a6 (patch)
tree1803032b911774f57158013eedfc26a3c0fb5462 /src/transport/gnunet-service-transport_validation.c
parent1fe395444d868f4fd66d44da83cb61a69acc6b66 (diff)
downloadgnunet-b3883971cd31d198dbd768fffb15960dff0352a6.tar.gz
gnunet-b3883971cd31d198dbd768fffb15960dff0352a6.zip
new friend only HELLO type GNUNET_MESSAGE_TYPE_FRIEND_HELLO
Diffstat (limited to 'src/transport/gnunet-service-transport_validation.c')
-rw-r--r--src/transport/gnunet-service-transport_validation.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/transport/gnunet-service-transport_validation.c b/src/transport/gnunet-service-transport_validation.c
index 4bb782bf4..f5c57d864 100644
--- a/src/transport/gnunet-service-transport_validation.c
+++ b/src/transport/gnunet-service-transport_validation.c
@@ -1264,7 +1264,7 @@ GST_validation_handle_pong (const struct GNUNET_PeerIdentity *sender,
1264 1264
1265 /* build HELLO to store in PEERINFO */ 1265 /* build HELLO to store in PEERINFO */
1266 ve->copied = GNUNET_NO; 1266 ve->copied = GNUNET_NO;
1267 hello = GNUNET_HELLO_create (&ve->public_key, &add_valid_peer_address, ve); 1267 hello = GNUNET_HELLO_create (&ve->public_key, &add_valid_peer_address, ve, GNUNET_NO);
1268 GNUNET_PEERINFO_add_peer (GST_peerinfo, hello, NULL, NULL); 1268 GNUNET_PEERINFO_add_peer (GST_peerinfo, hello, NULL, NULL);
1269 GNUNET_free (hello); 1269 GNUNET_free (hello);
1270} 1270}
@@ -1295,7 +1295,7 @@ GST_validation_handle_hello (const struct GNUNET_MessageHeader *hello)
1295 memcmp (&GST_my_identity, &vac.pid, sizeof (struct GNUNET_PeerIdentity))) 1295 memcmp (&GST_my_identity, &vac.pid, sizeof (struct GNUNET_PeerIdentity)))
1296 return; 1296 return;
1297 /* Add peer identity without addresses to peerinfo service */ 1297 /* Add peer identity without addresses to peerinfo service */
1298 h = GNUNET_HELLO_create (&vac.public_key, NULL, NULL); 1298 h = GNUNET_HELLO_create (&vac.public_key, NULL, NULL, GNUNET_NO);
1299 GNUNET_PEERINFO_add_peer (GST_peerinfo, h, NULL, NULL); 1299 GNUNET_PEERINFO_add_peer (GST_peerinfo, h, NULL, NULL);
1300 1300
1301 GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, 1301 GNUNET_log (GNUNET_ERROR_TYPE_DEBUG,