diff options
author | darrenr <darrenr@FreeBSD.org> | 2000-10-29 07:50:11 +0000 |
---|---|---|
committer | darrenr <darrenr@FreeBSD.org> | 2000-10-29 07:50:11 +0000 |
commit | f0af50f6d83d477f68fe4441d17c0d48d2142627 (patch) | |
tree | 07bcd938fb5448ce3cc5144acbf4c58a58859142 /sys/netinet/ip_rcmd_pxy.c | |
parent | a2c4e8b33e0013658e2daedea1909758fe6d451c (diff) | |
download | FreeBSD-src-f0af50f6d83d477f68fe4441d17c0d48d2142627.zip FreeBSD-src-f0af50f6d83d477f68fe4441d17c0d48d2142627.tar.gz |
Import IP filter 3.4.13
Diffstat (limited to 'sys/netinet/ip_rcmd_pxy.c')
-rw-r--r-- | sys/netinet/ip_rcmd_pxy.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/netinet/ip_rcmd_pxy.c b/sys/netinet/ip_rcmd_pxy.c index 1d6264d..e311b16 100644 --- a/sys/netinet/ip_rcmd_pxy.c +++ b/sys/netinet/ip_rcmd_pxy.c @@ -1,5 +1,5 @@ /* - * $Id: ip_rcmd_pxy.c,v 1.4.2.2 2000/07/15 12:38:30 darrenr Exp $ + * $Id: ip_rcmd_pxy.c,v 1.4.2.3 2000/10/27 22:54:04 darrenr Exp $ */ /* * Simple RCMD transparent proxy for in-kernel use. For use with the NAT @@ -146,6 +146,7 @@ nat_t *nat; fi.fin_data[0] = ntohs(sp); fi.fin_data[1] = 0; fi.fin_dp = (char *)tcp2; + fi.fin_dlen = sizeof(*tcp2); swip = ip->ip_src; ip->ip_src = nat->nat_inip; ipn = nat_new(nat->nat_ptr, ip, &fi, IPN_TCP|FI_W_DPORT, |