]> git.ipfire.org Git - ipfire-3.x.git/blobdiff - iproute2/patches/iproute2-2.6.39-lnstat-dump-to-stdout.patch
iproute2: Update to 3.3.0.
[ipfire-3.x.git] / iproute2 / patches / iproute2-2.6.39-lnstat-dump-to-stdout.patch
diff --git a/iproute2/patches/iproute2-2.6.39-lnstat-dump-to-stdout.patch b/iproute2/patches/iproute2-2.6.39-lnstat-dump-to-stdout.patch
new file mode 100644 (file)
index 0000000..a5b7b62
--- /dev/null
@@ -0,0 +1,13 @@
+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: