Module Name: src Committed By: christos Date: Fri Dec 23 19:08:50 UTC 2011
Modified Files: src/sys/netinet: ip_icmp.h Log Message: make ICMP_MAXTYPE 18 again to unbreak stats. To generate a diff of this commit: cvs rdiff -u -r1.27 -r1.28 src/sys/netinet/ip_icmp.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/sys/netinet/ip_icmp.h diff -u src/sys/netinet/ip_icmp.h:1.27 src/sys/netinet/ip_icmp.h:1.28 --- src/sys/netinet/ip_icmp.h:1.27 Fri Dec 23 10:31:16 2011 +++ src/sys/netinet/ip_icmp.h Fri Dec 23 14:08:50 2011 @@ -1,4 +1,4 @@ -/* $NetBSD: ip_icmp.h,v 1.27 2011/12/23 15:31:16 christos Exp $ */ +/* $NetBSD: ip_icmp.h,v 1.28 2011/12/23 19:08:50 christos Exp $ */ /* * Copyright (c) 1982, 1986, 1993 @@ -174,7 +174,7 @@ struct icmp { #define ICMP_MOBILE_REGREPLY 36 /* mobile registration reply */ #define ICMP_PHOTURIS 40 /* security */ -#define ICMP_MAXTYPE 40 +#define ICMP_MAXTYPE 18 /* XXX: for icmp stats */ #define ICMP_INFOTYPE(type) \ ((type) == ICMP_ECHOREPLY || (type) == ICMP_ECHO || \