diff options
author | Christian Grothoff <christian@grothoff.org> | 2013-12-20 15:26:03 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2013-12-20 15:26:03 +0000 |
commit | d544e81283a24082e6423c8f4377939f6fefa780 (patch) | |
tree | ab8aaf264cdd6d27853ff15a2f7542c801acf721 /src/vpn/vpn_api.c | |
parent | a0a09022f0d0df917465b8e71753a69f066058d3 (diff) | |
download | gnunet-d544e81283a24082e6423c8f4377939f6fefa780.tar.gz gnunet-d544e81283a24082e6423c8f4377939f6fefa780.zip |
-use the same hash function to map service name to hash, not once strlen and then strlen+1
Diffstat (limited to 'src/vpn/vpn_api.c')
-rw-r--r-- | src/vpn/vpn_api.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/vpn/vpn_api.c b/src/vpn/vpn_api.c index cf493cc52..95ef8c46d 100644 --- a/src/vpn/vpn_api.c +++ b/src/vpn/vpn_api.c | |||
@@ -120,7 +120,7 @@ struct GNUNET_VPN_RedirectionRequest | |||
120 | /** | 120 | /** |
121 | * For service redirection, service descriptor. | 121 | * For service redirection, service descriptor. |
122 | */ | 122 | */ |
123 | struct GNUNET_HashCode serv; | 123 | struct GNUNET_HashCode serv; |
124 | 124 | ||
125 | /** | 125 | /** |
126 | * At what time should the created service mapping expire? | 126 | * At what time should the created service mapping expire? |
@@ -162,7 +162,7 @@ reconnect (struct GNUNET_VPN_Handle *vh); | |||
162 | /** | 162 | /** |
163 | * Function called when we receive a message from the VPN service. | 163 | * Function called when we receive a message from the VPN service. |
164 | * | 164 | * |
165 | * @param cls the 'struct GNUNET_VPN_Handle' | 165 | * @param cls the `struct GNUNET_VPN_Handle` |
166 | * @param msg message received, NULL on timeout or fatal error | 166 | * @param msg message received, NULL on timeout or fatal error |
167 | */ | 167 | */ |
168 | static void | 168 | static void |
@@ -475,7 +475,7 @@ GNUNET_VPN_redirect_to_peer (struct GNUNET_VPN_Handle *vh, | |||
475 | return rr; | 475 | return rr; |
476 | } | 476 | } |
477 | 477 | ||
478 | 478 | ||
479 | /** | 479 | /** |
480 | * Tell the VPN that forwarding to the Internet via some exit node is | 480 | * Tell the VPN that forwarding to the Internet via some exit node is |
481 | * requested. Note that both UDP and TCP traffic will be forwarded, | 481 | * requested. Note that both UDP and TCP traffic will be forwarded, |