diff options
author | wollman <wollman@FreeBSD.org> | 1996-10-07 19:21:46 +0000 |
---|---|---|
committer | wollman <wollman@FreeBSD.org> | 1996-10-07 19:21:46 +0000 |
commit | 5db9741711f11a3893aae9b37a5e66c5c37f9bde (patch) | |
tree | 06ab4cbfa58213bd11d7128f5265a0e08d9b91d4 /sys/netinet/ip_output.c | |
parent | 6fa07fb99b83947deb238e5bd8972284301f1df7 (diff) | |
download | FreeBSD-src-5db9741711f11a3893aae9b37a5e66c5c37f9bde.zip FreeBSD-src-5db9741711f11a3893aae9b37a5e66c5c37f9bde.tar.gz |
All three files: make COMPAT_IPFW==0 case work again.
ip_input.c:
- delete some dusty code
- _IP_VHL
- use fast inline header checksum when possible
Diffstat (limited to 'sys/netinet/ip_output.c')
-rw-r--r-- | sys/netinet/ip_output.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/netinet/ip_output.c b/sys/netinet/ip_output.c index 8bdcabc..3b733fa 100644 --- a/sys/netinet/ip_output.c +++ b/sys/netinet/ip_output.c @@ -31,7 +31,7 @@ * SUCH DAMAGE. * * @(#)ip_output.c 8.3 (Berkeley) 1/21/94 - * $Id: ip_output.c,v 1.41 1996/07/10 19:44:26 julian Exp $ + * $Id: ip_output.c,v 1.42 1996/08/21 21:37:04 sos Exp $ */ #define _IP_VHL @@ -339,12 +339,12 @@ sendit: * - Encapsulate: put it in another IP and send out. <unimp.> */ +#ifdef COMPAT_IPFW if (ip_nat_ptr && !(*ip_nat_ptr)(&ip, &m, IP_NAT_OUT)) { error = EACCES; goto done; } -#ifdef COMPAT_IPFW /* * Check with the firewall... */ |