From: Christian Grothoff Date: Sun, 12 Feb 2012 11:17:21 +0000 (+0000) Subject: -fix X-Git-Tag: initial-import-from-subversion-38251~14901 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=cd896065dc6b0b61913a5af9054865f040afc885;p=oweals%2Fgnunet.git -fix --- 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;