aboutsummaryrefslogtreecommitdiff
path: root/src/exit
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2012-02-12 11:17:21 +0000
committerChristian Grothoff <christian@grothoff.org>2012-02-12 11:17:21 +0000
commitcd896065dc6b0b61913a5af9054865f040afc885 (patch)
treec933b8da92e2e9d22a4cce2d1041b6ca7ed73c55 /src/exit
parent691b149091d9bb9b57bf4a82bb370de72fe96aeb (diff)
downloadgnunet-cd896065dc6b0b61913a5af9054865f040afc885.tar.gz
gnunet-cd896065dc6b0b61913a5af9054865f040afc885.zip
-fix
Diffstat (limited to 'src/exit')
-rw-r--r--src/exit/gnunet-daemon-exit.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/exit/gnunet-daemon-exit.c b/src/exit/gnunet-daemon-exit.c
index 7cd207a50..adabb70e5 100644
--- a/src/exit/gnunet-daemon-exit.c
+++ b/src/exit/gnunet-daemon-exit.c
@@ -395,8 +395,8 @@ get_redirect_state (int af,
395 GNUNET_HashCode key; 395 GNUNET_HashCode key;
396 struct TunnelState *state; 396 struct TunnelState *state;
397 397
398 if ( ( (af == AF_INET) && (proto == IPPROTO_ICMP) ) || 398 if ( ( (af == AF_INET) && (protocol == IPPROTO_ICMP) ) ||
399 ( (af == AF_INET6) && (proto == IPPROTO_ICMPV6) ) ) 399 ( (af == AF_INET6) && (protocol == IPPROTO_ICMPV6) ) )
400 { 400 {
401 /* ignore ports */ 401 /* ignore ports */
402 destination_port = 0; 402 destination_port = 0;