Add the matrix fix from #2127
authorflorian <florian@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Sun, 12 Aug 2007 12:10:30 +0000 (12:10 +0000)
committerflorian <florian@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Sun, 12 Aug 2007 12:10:30 +0000 (12:10 +0000)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8405 3c298f89-4303-0410-b956-a3cf2f4a3e73

package/admswconfig/patches/001-matrix.patch [new file with mode: 0644]

diff --git a/package/admswconfig/patches/001-matrix.patch b/package/admswconfig/patches/001-matrix.patch
new file mode 100644 (file)
index 0000000..5f3b5b1
--- /dev/null
@@ -0,0 +1,15 @@
+--- admswconfig-0.1.orig/admswconfig.c 2007-05-30 12:55:35.000000000 +0200
++++ admswconfig-0.1/admswconfig.c      2007-07-24 19:22:14.000000000 +0200
+@@ -111,9 +111,9 @@
+               }
+       } else {
+               /* display matrix */
+-              printf("ethX\tport0\tport1\tport2\tport3\tport4");
+-              if (info.ports == 6)
+-                      printf("\tport5");
++              printf("ethX");
++              for (i = 0; i < info.ports; i++)
++                      printf("\tport%d", i);
+               printf("\tCPU\n");
+               for (i = 0; i < info.ports; i++) {
+                       printf("%d", i);
This page took 0.025213 seconds and 4 git commands to generate.