projects
/
oweals
/
gnunet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9134c12
)
commented
author
Philipp Tölke
<toelke@in.tum.de>
Wed, 15 Jun 2011 07:15:32 +0000
(07:15 +0000)
committer
Philipp Tölke
<toelke@in.tum.de>
Wed, 15 Jun 2011 07:15:32 +0000
(07:15 +0000)
src/vpn/gnunet-daemon-exit.c
patch
|
blob
|
history
diff --git
a/src/vpn/gnunet-daemon-exit.c
b/src/vpn/gnunet-daemon-exit.c
index 4530ccdcd65a79a7f10e2fdd71a9a28e87b1e70a..c999df8344ae0a77d072ef650da6c4c7f3e47ace 100644
(file)
--- a/
src/vpn/gnunet-daemon-exit.c
+++ b/
src/vpn/gnunet-daemon-exit.c
@@
-273,6
+273,10
@@
udp_from_helper (struct udp_pkt *udp, unsigned char *dadr, size_t addrlen,
}
else
{
+ /* otherwise the answer came from a different port (tftp does this)
+ * add this new port to the list of all services, so that the packets
+ * coming back from the client to this new port will be routed correctly
+ */
struct redirect_service *serv =
GNUNET_malloc (sizeof (struct redirect_service));
memcpy (serv, state->serv, sizeof (struct redirect_service));