Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/netinet make ICMP_MAXTYPE 18 again to unbreak stats.



details:   https://anonhg.NetBSD.org/src/rev/3243776f4a5e
branches:  trunk
changeset: 772201:3243776f4a5e
user:      christos <christos%NetBSD.org@localhost>
date:      Fri Dec 23 19:08:50 2011 +0000

description:
make ICMP_MAXTYPE 18 again to unbreak stats.

diffstat:

 sys/netinet/ip_icmp.h |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r 6d3b7fe32ade -r 3243776f4a5e sys/netinet/ip_icmp.h
--- a/sys/netinet/ip_icmp.h     Fri Dec 23 16:56:54 2011 +0000
+++ b/sys/netinet/ip_icmp.h     Fri Dec 23 19:08:50 2011 +0000
@@ -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 @@
 #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 || \



Home | Main Index | Thread Index | Old Index