Module Name: src Committed By: tteras Date: Mon May 18 17:01:07 UTC 2009
Modified Files: src/crypto/dist/ipsec-tools/src/racoon [ipsec-tools-0_7-branch]: nattraversal.c Log Message: >From Tomas Mraz: Fix natt_flags check. To generate a diff of this commit: cvs rdiff -u -r1.6.6.1 -r1.6.6.2 \ 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.6.6.1 src/crypto/dist/ipsec-tools/src/racoon/nattraversal.c:1.6.6.2 --- src/crypto/dist/ipsec-tools/src/racoon/nattraversal.c:1.6.6.1 Mon Apr 20 13:27:12 2009 +++ src/crypto/dist/ipsec-tools/src/racoon/nattraversal.c Mon May 18 17:01:07 2009 @@ -1,4 +1,4 @@ -/* $NetBSD: nattraversal.c,v 1.6.6.1 2009/04/20 13:27:12 tteras Exp $ */ +/* $NetBSD: nattraversal.c,v 1.6.6.2 2009/05/18 17:01:07 tteras Exp $ */ /* * Copyright (C) 2004 SuSE Linux AG, Nuernberg, Germany. @@ -287,7 +287,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 */