iproute/iproute2-3.12.0-lnstat-dump-to-stdout.patch
2013-11-25 19:39:35 +09:00

14 lines
311 B
Diff

diff --git a/misc/lnstat.c b/misc/lnstat.c
index d6415ef..8608cfa 100644
--- a/misc/lnstat.c
+++ b/misc/lnstat.c
@@ -351,7 +351,7 @@ int main(int argc, char **argv)
switch (mode) {
case MODE_DUMP:
- lnstat_dump(stderr, lnstat_files);
+ lnstat_dump(stdout, lnstat_files);
break;
case MODE_NORMAL: