From ffde9fe98f3c618efe73388499f84ed8e7f7dbb9 Mon Sep 17 00:00:00 2001 From: cjc Date: Sat, 26 Jan 2002 10:14:08 +0000 Subject: 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 --- sys/netinet/ip_input.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'sys/netinet/ip_input.c') 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 -- cgit v1.1