diff options
author | Matthias Wachs <wachs@net.in.tum.de> | 2011-09-29 14:44:24 +0000 |
---|---|---|
committer | Matthias Wachs <wachs@net.in.tum.de> | 2011-09-29 14:44:24 +0000 |
commit | 8377aa60c8714fcec4967e1652c4628032b55bf6 (patch) | |
tree | 89968302123369aedbcab440d57b4889d6091ce6 /src/transport/gnunet-service-transport_blacklist.c | |
parent | 46dfa72665e1fcd10c1e98957de6a732f5991c13 (diff) | |
download | gnunet-8377aa60c8714fcec4967e1652c4628032b55bf6.tar.gz gnunet-8377aa60c8714fcec4967e1652c4628032b55bf6.zip |
fixing list-connections to show correct peer id
extending neighbour-iterate to return plugin, addr and addresslen
Diffstat (limited to 'src/transport/gnunet-service-transport_blacklist.c')
-rw-r--r-- | src/transport/gnunet-service-transport_blacklist.c | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/src/transport/gnunet-service-transport_blacklist.c b/src/transport/gnunet-service-transport_blacklist.c index a73aa17c1..cb79787ce 100644 --- a/src/transport/gnunet-service-transport_blacklist.c +++ b/src/transport/gnunet-service-transport_blacklist.c | |||
@@ -550,11 +550,17 @@ struct TestConnectionContext | |||
550 | * @param neighbour neighbour's identity | 550 | * @param neighbour neighbour's identity |
551 | * @param ats performance data | 551 | * @param ats performance data |
552 | * @param ats_count number of entries in ats (excluding 0-termination) | 552 | * @param ats_count number of entries in ats (excluding 0-termination) |
553 | * @param transport plugin | ||
554 | * @param addr address | ||
555 | * @param addrlen address length | ||
553 | */ | 556 | */ |
554 | static void | 557 | static void |
555 | test_connection_ok (void *cls, const struct GNUNET_PeerIdentity *neighbour, | 558 | test_connection_ok (void *cls, const struct GNUNET_PeerIdentity *neighbour, |
556 | const struct GNUNET_TRANSPORT_ATS_Information *ats, | 559 | const struct GNUNET_TRANSPORT_ATS_Information *ats, |
557 | uint32_t ats_count) | 560 | uint32_t ats_count, |
561 | const char * transport, | ||
562 | const void * addr, | ||
563 | size_t addrlen) | ||
558 | { | 564 | { |
559 | struct TestConnectionContext *tcc = cls; | 565 | struct TestConnectionContext *tcc = cls; |
560 | struct GST_BlacklistCheck *bc; | 566 | struct GST_BlacklistCheck *bc; |