Module Name: src
Committed By: tteras
Date: Mon May 18 17:00:42 UTC 2009
Modified Files:
src/crypto/dist/ipsec-tools/src/racoon: nattraversal.c
Log Message:
>From Tomas Mraz: Fix natt_flags check.
To generate a diff of this commit:
cvs rdiff -u -r1.10 -r1.11 \
src/crypto/dist/ipsec-tools/src/racoon/nattraversal.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/crypto/dist/ipsec-tools/src/racoon/nattraversal.c
diff -u src/crypto/dist/ipsec-tools/src/racoon/nattraversal.c:1.10 src/crypto/dist/ipsec-tools/src/racoon/nattraversal.c:1.11
--- src/crypto/dist/ipsec-tools/src/racoon/nattraversal.c:1.10 Mon Apr 20 13:17:35 2009
+++ src/crypto/dist/ipsec-tools/src/racoon/nattraversal.c Mon May 18 17:00:42 2009
@@ -1,4 +1,4 @@
-/* $NetBSD: nattraversal.c,v 1.10 2009/04/20 13:17:35 tteras Exp $ */
+/* $NetBSD: nattraversal.c,v 1.11 2009/05/18 17:00:42 tteras Exp $ */
/*
* Copyright (C) 2004 SuSE Linux AG, Nuernberg, Germany.
@@ -293,7 +293,7 @@
void
natt_float_ports (struct ph1handle *iph1)
{
- if (! (iph1->natt_flags && NAT_DETECTED) )
+ if (! (iph1->natt_flags & NAT_DETECTED) )
return;
if (! iph1->natt_options->float_port){
/* Drafts 00 / 01, just schedule keepalive */