diff options
author | Angelos D. Keromytis <angelos@cvs.openbsd.org> | 2000-08-03 08:31:40 +0000 |
---|---|---|
committer | Angelos D. Keromytis <angelos@cvs.openbsd.org> | 2000-08-03 08:31:40 +0000 |
commit | ec4f85e53697fdba412f232d8ff19f887ddfdcfa (patch) | |
tree | 26ef288b10c0c3941804dbeba6b13b5d46a6d97d /sys/netinet | |
parent | bfb50ff55637fb4883938394ac6c132eae030b7d (diff) |
Don't even need to reset ip_sum, if we're not going to compute it here
but in ip_output()
Diffstat (limited to 'sys/netinet')
-rw-r--r-- | sys/netinet/ip_ipsp.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sys/netinet/ip_ipsp.c b/sys/netinet/ip_ipsp.c index 5adcaef1f1b..b5af2ba3071 100644 --- a/sys/netinet/ip_ipsp.c +++ b/sys/netinet/ip_ipsp.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ip_ipsp.c,v 1.98 2000/08/03 08:29:55 angelos Exp $ */ +/* $OpenBSD: ip_ipsp.c,v 1.99 2000/08/03 08:31:39 angelos Exp $ */ /* * The authors of this code are John Ioannidis (ji@tla.org), @@ -1917,7 +1917,6 @@ ipsp_process_done(struct mbuf *m, struct tdb *tdb) case AF_INET: NTOHS(ip->ip_len); NTOHS(ip->ip_off); - ip->ip_sum = 0; return ip_output(m, NULL, NULL, IP_ENCAPSULATED | IP_RAWOUTPUT, NULL, NULL); |