diff options
author | cjc <cjc@FreeBSD.org> | 2002-01-26 10:14:08 +0000 |
---|---|---|
committer | cjc <cjc@FreeBSD.org> | 2002-01-26 10:14:08 +0000 |
commit | ffde9fe98f3c618efe73388499f84ed8e7f7dbb9 (patch) | |
tree | aaf6f53624636d798d2da147fee8cf6cd8b2fa03 | |
parent | f07bfdc654e2880d05a53a80682f5d5057d8e6c4 (diff) | |
download | FreeBSD-src-ffde9fe98f3c618efe73388499f84ed8e7f7dbb9.zip FreeBSD-src-ffde9fe98f3c618efe73388499f84ed8e7f7dbb9.tar.gz |
The ipfw(8) 'tee' action simply hasn't worked on incoming packets for
some time. _All_ packets, regardless of destination, were accepted by
the machine as if addressed to it.
Jump back to 'pass' processing for a teed packet instead of falling
through as if it was ours.
PR: kern/31130
Reviewed by: -net, luigi
MFC after: 2 weeks
-rw-r--r-- | sys/netinet/ip_input.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/sys/netinet/ip_input.c b/sys/netinet/ip_input.c index dec4d94..9a4c248 100644 --- a/sys/netinet/ip_input.c +++ b/sys/netinet/ip_input.c @@ -806,6 +806,9 @@ found: return; m = clone; ip = mtod(m, struct ip *); + ip->ip_len += hlen; + divert_info = 0; + goto pass; } #endif |