diff options
author | ugen <ugen@FreeBSD.org> | 1994-12-12 17:20:55 +0000 |
---|---|---|
committer | ugen <ugen@FreeBSD.org> | 1994-12-12 17:20:55 +0000 |
commit | dd9e9b49e3773143f680ad0f18ead7b8023682cc (patch) | |
tree | 773d863fe59cc745780c988f947286cd83a89acb /sys/netinet/ip_output.c | |
parent | d3899ce8a10f936258877e027e9db900c9076e68 (diff) | |
download | FreeBSD-src-dd9e9b49e3773143f680ad0f18ead7b8023682cc.zip FreeBSD-src-dd9e9b49e3773143f680ad0f18ead7b8023682cc.tar.gz |
Add match by interface from which packet arrived (via)
Handle right fragmented packets. Remove checking option
from kernel..
Diffstat (limited to 'sys/netinet/ip_output.c')
-rw-r--r-- | sys/netinet/ip_output.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/sys/netinet/ip_output.c b/sys/netinet/ip_output.c index a734c42..986f9dd 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.8 1994/09/14 03:10:13 wollman Exp $ + * $Id: ip_output.c,v 1.9 1994/11/16 10:17:10 jkh Exp $ */ #include <sys/param.h> @@ -414,8 +414,10 @@ done: * those we forward. * Here we want to convert ip_len to host byte order when counting * so we set 3rd arg to 1. + * This is locally generated packet so it has not + * incoming interface. */ - ip_acct_cnt(ip,ip_acct_chain,1); + ip_acct_cnt(ip,NULL,ip_acct_chain,1); #endif return (error); bad: |