aboutsummaryrefslogtreecommitdiffstats
path: root/sys/contrib/ipfilter/netinet/ip_nat.c
diff options
context:
space:
mode:
authorDarren Reed <darrenr@FreeBSD.org>2002-04-27 16:52:49 +0000
committerDarren Reed <darrenr@FreeBSD.org>2002-04-27 16:52:49 +0000
commit635ff71d68c21b0cc5df26ad8a0eeb3a73f0f96b (patch)
tree012c8006390a2fc3f7f147cd5b625f66bdf27ff2 /sys/contrib/ipfilter/netinet/ip_nat.c
parent43ba65e60d8d4967956752a79619c4e7950a846a (diff)
downloadsrc-635ff71d68c21b0cc5df26ad8a0eeb3a73f0f96b.tar.gz
src-635ff71d68c21b0cc5df26ad8a0eeb3a73f0f96b.zip
Import version 3.4.27
Notes
Notes: svn path=/vendor-sys/ipfilter/dist/; revision=95561
Diffstat (limited to 'sys/contrib/ipfilter/netinet/ip_nat.c')
-rw-r--r--sys/contrib/ipfilter/netinet/ip_nat.c9
1 files changed, 2 insertions, 7 deletions
diff --git a/sys/contrib/ipfilter/netinet/ip_nat.c b/sys/contrib/ipfilter/netinet/ip_nat.c
index e0d595193460..bf346610beca 100644
--- a/sys/contrib/ipfilter/netinet/ip_nat.c
+++ b/sys/contrib/ipfilter/netinet/ip_nat.c
@@ -109,7 +109,7 @@ extern struct ifnet vpnif;
#if !defined(lint)
static const char sccsid[] = "@(#)ip_nat.c 1.11 6/5/96 (C) 1995 Darren Reed";
-static const char rcsid[] = "@(#)$Id: ip_nat.c,v 2.37.2.66 2002/04/23 14:58:27 darrenr Exp $";
+static const char rcsid[] = "@(#)$Id: ip_nat.c,v 2.37.2.67 2002/04/27 15:23:39 darrenr Exp $";
#endif
nat_t **nat_table[2] = { NULL, NULL },
@@ -1768,7 +1768,6 @@ int dir;
sumd2 = sumd;
}
-#if 1
/*
* Fix TCP pseudo header checksum to compensate for the
* IP address change. Before we can do the change, we
@@ -1788,7 +1787,6 @@ int dir;
CALC_SUMD(sum1, sum2, sumd);
sumd2 = sumd;
}
-#endif
} else {
/*
@@ -1837,7 +1835,6 @@ int dir;
sumd2 = sumd;
}
-#if 1
/*
* Fix TCP pseudo header checksum to compensate for the
* IP address change. Before we can do the change, we
@@ -1856,9 +1853,7 @@ int dir;
*/
CALC_SUMD(sum1, sum2, sumd);
sumd2 = sumd;
- };
-#endif
-
+ }
#endif
}