Subject: CVS commit: src/sys
To: None <source-changes@NetBSD.org>
From: David Young <dyoung@netbsd.org>
List: source-changes
Date: 03/21/2007 01:56:05
Module Name:	src
Committed By:	dyoung
Date:		Wed Mar 21 01:56:05 UTC 2007

Modified Files:
	src/sys/net: if_gre.c if_gre.h
	src/sys/netinet: ip_gre.c

Log Message:
If we do not recognize the protocol of a received packet, then
increase ifi_noproto.  If the GRE header contains routing options,
increase the input-error count, ifi_ierrors.

While I am here, make some cosmetic changes: remove unnecessary
'proto' argument from gre_input3().  Shorten some staircases.


To generate a diff of this commit:
cvs rdiff -r1.88 -r1.89 src/sys/net/if_gre.c
cvs rdiff -r1.20 -r1.21 src/sys/net/if_gre.h
cvs rdiff -r1.44 -r1.45 src/sys/netinet/ip_gre.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.