From: hasso Date: Sun, 6 Mar 2005 13:42:05 +0000 (+0000) Subject: * interface.c: Fix CRC and frame errors statistics in Linux. X-Git-Tag: frr-2.0-rc1~3159 X-Git-Url: https://git.puffer.fish/?a=commitdiff_plain;h=3452d4752490516c3228da3700c93e2089e30083;p=mirror%2Ffrr.git * interface.c: Fix CRC and frame errors statistics in Linux. --- diff --git a/zebra/ChangeLog b/zebra/ChangeLog index a93f886ee1..ad8cf7ccb9 100644 --- a/zebra/ChangeLog +++ b/zebra/ChangeLog @@ -1,3 +1,7 @@ +2005-03-06 Hasso Tepper + + * interface.c: Fix CRC and frame errors statistics in Linux. + 2005-02-28 Andrew J. Schorr * zserv.c: Must include network.h and buffer.h for non-blocking I/O. diff --git a/zebra/interface.c b/zebra/interface.c index 0b206d321f..4864103b70 100644 --- a/zebra/interface.c +++ b/zebra/interface.c @@ -748,7 +748,7 @@ if_dump_vty (struct vty *vty, struct interface *ifp) ifp->stats.rx_bytes, ifp->stats.rx_dropped, VTY_NEWLINE); vty_out (vty, " %lu input errors, %lu length, %lu overrun," - " CRC %lu, frame %lu%s", + " %lu CRC, %lu frame%s", ifp->stats.rx_errors, ifp->stats.rx_length_errors, ifp->stats.rx_over_errors, ifp->stats.rx_crc_errors, ifp->stats.rx_frame_errors, VTY_NEWLINE);