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.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.c')
-rw-r--r-- | src/transport/gnunet-service-transport.c | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/src/transport/gnunet-service-transport.c b/src/transport/gnunet-service-transport.c index 92f78fec5..3693bcf2e 100644 --- a/src/transport/gnunet-service-transport.c +++ b/src/transport/gnunet-service-transport.c | |||
@@ -83,11 +83,17 @@ struct GNUNET_ATS_Handle *GST_ats; | |||
83 | * @param target a connected neighbour | 83 | * @param target a connected neighbour |
84 | * @param ats performance information (unused) | 84 | * @param ats performance information (unused) |
85 | * @param ats_count number of records in ats (unused) | 85 | * @param ats_count number of records in ats (unused) |
86 | * @param transport plugin | ||
87 | * @param addr address | ||
88 | * @param addrlen address length | ||
86 | */ | 89 | */ |
87 | static void | 90 | static void |
88 | transmit_our_hello (void *cls, const struct GNUNET_PeerIdentity *target, | 91 | transmit_our_hello (void *cls, const struct GNUNET_PeerIdentity *target, |
89 | const struct GNUNET_TRANSPORT_ATS_Information *ats, | 92 | const struct GNUNET_TRANSPORT_ATS_Information *ats, |
90 | uint32_t ats_count) | 93 | uint32_t ats_count, |
94 | const char * transport, | ||
95 | const void * addr, | ||
96 | size_t addrlen) | ||
91 | { | 97 | { |
92 | const struct GNUNET_MessageHeader *hello = cls; | 98 | const struct GNUNET_MessageHeader *hello = cls; |
93 | 99 | ||