-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
conditional printing of values (to support -tuw options for netstat -s)
- Loading branch information
Bernd Eckenfels
committed
Oct 3, 2008
1 parent
2e572c2
commit 57b70fa
Showing
1 changed file
with
3 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
/* | ||
* Copyright 1997,1999,2000 Andi Kleen. Subject to the GPL. | ||
* $Id: statistics.c,v 1.21 2008/10/03 00:05:20 ecki Exp $ | ||
* $Id: statistics.c,v 1.22 2008/10/03 01:07:47 ecki Exp $ | ||
* 19980630 - i18n - Arnaldo Carvalho de Melo <[email protected]> | ||
* 19981113 - i18n fixes - Arnaldo Carvalho de Melo <[email protected]> | ||
* 19990101 - added net/netstat, -t, -u, -w supprt - Bernd Eckenfels | ||
|
@@ -494,7 +494,8 @@ void process6_fd(FILE *f) | |
cpytitle(buf2, buf3); | ||
tab = newtable(snmp6tabs, buf3); | ||
} | ||
printval(tab, buf2, val); | ||
if (*(tab->flag)) | ||
printval(tab, buf2, val); | ||
} | ||
|
||
} | ||
|