aboutsummaryrefslogtreecommitdiffstats
path: root/package/admswconfig/patches
diff options
context:
space:
mode:
Diffstat (limited to 'package/admswconfig/patches')
-rw-r--r--package/admswconfig/patches/.svn/entries62
-rw-r--r--package/admswconfig/patches/.svn/text-base/001-matrix.patch.svn-base15
-rw-r--r--package/admswconfig/patches/001-matrix.patch15
3 files changed, 92 insertions, 0 deletions
diff --git a/package/admswconfig/patches/.svn/entries b/package/admswconfig/patches/.svn/entries
new file mode 100644
index 0000000..b8b9a4a
--- /dev/null
+++ b/package/admswconfig/patches/.svn/entries
@@ -0,0 +1,62 @@
+10
+
+dir
+36060
+svn://svn.openwrt.org/openwrt/trunk/package/admswconfig/patches
+svn://svn.openwrt.org/openwrt
+
+
+
+2010-03-26T14:27:16.438756Z
+20450
+juhosg
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+3c298f89-4303-0410-b956-a3cf2f4a3e73
+
+001-matrix.patch
+file
+
+
+
+
+2013-03-17T12:13:10.000000Z
+728023700fc2530fe88998cc89f71bae
+2010-03-26T14:27:16.438756Z
+20450
+juhosg
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+396
+
diff --git a/package/admswconfig/patches/.svn/text-base/001-matrix.patch.svn-base b/package/admswconfig/patches/.svn/text-base/001-matrix.patch.svn-base
new file mode 100644
index 0000000..e50d515
--- /dev/null
+++ b/package/admswconfig/patches/.svn/text-base/001-matrix.patch.svn-base
@@ -0,0 +1,15 @@
+--- a/admswconfig.c
++++ b/admswconfig.c
+@@ -111,9 +111,9 @@ int main(int argc, char **argv)
+ }
+ } 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);
diff --git a/package/admswconfig/patches/001-matrix.patch b/package/admswconfig/patches/001-matrix.patch
new file mode 100644
index 0000000..e50d515
--- /dev/null
+++ b/package/admswconfig/patches/001-matrix.patch
@@ -0,0 +1,15 @@
+--- a/admswconfig.c
++++ b/admswconfig.c
+@@ -111,9 +111,9 @@ int main(int argc, char **argv)
+ }
+ } 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);