From cd896065dc6b0b61913a5af9054865f040afc885 Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Sun, 12 Feb 2012 11:17:21 +0000 Subject: [PATCH] -fix --- src/exit/gnunet-daemon-exit.c | 4 ++-- 1 file 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, GNUNET_HashCode key; struct TunnelState *state; - if ( ( (af == AF_INET) && (proto == IPPROTO_ICMP) ) || - ( (af == AF_INET6) && (proto == IPPROTO_ICMPV6) ) ) + if ( ( (af == AF_INET) && (protocol == IPPROTO_ICMP) ) || + ( (af == AF_INET6) && (protocol == IPPROTO_ICMPV6) ) ) { /* ignore ports */ destination_port = 0; -- 2.25.1