ViewVC Help
View File | Revision Log | Show Annotations | Revision Graph | Root Listing
root/i-scream/projects/libstatgrab/src/libstatgrab/network_stats.c
(Generate patch)

Comparing projects/libstatgrab/src/libstatgrab/network_stats.c (file contents):
Revision 1.53 by tdb, Mon Mar 8 12:31:01 2004 UTC vs.
Revision 1.55 by ats, Tue Mar 9 11:29:46 2004 UTC

# Line 199 | Line 199 | network_stat_t *get_network_stats(int *entries){
199                                   * have the rbytes/obytes values; for instance,
200                                   * the loopback devices have this behaviour
201                                   * (although they do track packets in/out). */
202 +                                /* FIXME: Show packet counts when byte counts
203 +                                 * not available. */
204                                  continue;
205                          }
206  
# Line 545 | Line 547 | network_iface_stat_t *get_network_iface_stats(int *ent
547                          case(IFM_1000_SX):
548                          case(IFM_1000_LX):
549                          case(IFM_1000_CX):
550 < #ifdef IFM_1000_TX
551 <                        case(IFM_1000_TX): /* FreeBSD 4 and others? */
550 > #if defined(IFM_1000_TX) && !defined(OPENBSD)
551 >                        case(IFM_1000_TX): /* FreeBSD 4 and others (but NOT OpenBSD)? */
552   #endif
553   #ifdef IFM_1000_FX
554                          case(IFM_1000_FX): /* FreeBSD 4 */

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines