summaryrefslogtreecommitdiffstats
path: root/cpukit/libnetworking/rtems/rtems_showicmpstat.c
diff options
context:
space:
mode:
authorEric Norum <WENorum@lbl.gov>2005-05-24 00:36:35 +0000
committerEric Norum <WENorum@lbl.gov>2005-05-24 00:36:35 +0000
commit2a94c854204833f8c3c3823091240cc4a60ce319 (patch)
treec9ab53e3c632b3a249908e4b6ae5a1fff54ac0eb /cpukit/libnetworking/rtems/rtems_showicmpstat.c
parent2005-05-23 Joel Sherrill <joel@OARcorp.com> (diff)
downloadrtems-2a94c854204833f8c3c3823091240cc4a60ce319.tar.bz2
Add "ICMP panic avoided" diagnostic counter.
Diffstat (limited to '')
-rw-r--r--cpukit/libnetworking/rtems/rtems_showicmpstat.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/cpukit/libnetworking/rtems/rtems_showicmpstat.c b/cpukit/libnetworking/rtems/rtems_showicmpstat.c
index dfe1bc45a4..13f378826a 100644
--- a/cpukit/libnetworking/rtems/rtems_showicmpstat.c
+++ b/cpukit/libnetworking/rtems/rtems_showicmpstat.c
@@ -36,6 +36,7 @@ rtems_bsdnet_show_icmp_stats (void)
{
int i;
char cbuf[20];
+ extern unsigned int icmplenPanicAvoided;
printf ("************ ICMP Statistics ************\n");
showicmpstat ("Calls to icmp_error()", icmpstat.icps_error);
@@ -59,6 +60,6 @@ rtems_bsdnet_show_icmp_stats (void)
showicmpstat (cbuf, icmpstat.icps_inhist[i]);
}
}
-
+ showicmpstat ("ICMP panic avoided", icmplenPanicAvoided);
printf ("\n");
}