From dd9e9b49e3773143f680ad0f18ead7b8023682cc Mon Sep 17 00:00:00 2001 From: ugen Date: Mon, 12 Dec 1994 17:20:55 +0000 Subject: Add match by interface from which packet arrived (via) Handle right fragmented packets. Remove checking option from kernel.. --- sys/netinet/ip_output.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'sys/netinet/ip_output.c') 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 @@ -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: -- cgit v1.1