Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37760164
en ru br
ALT Linux repos
S:5.17.0-alt2
5.0: 2.6.26-alt1
4.1: 2.6.23-alt2
4.0: 2.6.20.20070313-alt1
3.0: 2.4.7.20020116-alt5.1

Group :: Networking/Other
RPM: iproute2

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

Patch: iproute2-2.6.39-lnstat-dump-to-stdout.patch
Download


diff --git a/misc/lnstat.c b/misc/lnstat.c
index 32ab6a4..431bfc7 100644
--- a/misc/lnstat.c
+++ b/misc/lnstat.c
@@ -322,7 +322,7 @@ int main(int argc, char **argv)
 		int i;
 		struct table_hdr *header;
 	case MODE_DUMP:
-		lnstat_dump(stderr, lnstat_files);
+		lnstat_dump(stdout, lnstat_files);
 		break;
 	case MODE_NORMAL:
 
 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin