projects
/
openwrt.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
ar71xx: add lzma loader
[openwrt.git]
/
package
/
admswconfig
/
patches
/
001-matrix.patch
1
--- a/admswconfig.c
2
+++ b/admswconfig.c
3
@@ -111,9 +111,9 @@ int main(int argc, char **argv)
4
}
5
} else {
6
/* display matrix */
7
- printf("ethX\tport0\tport1\tport2\tport3\tport4");
8
- if (info.ports == 6)
9
- printf("\tport5");
10
+ printf("ethX");
11
+ for (i = 0; i < info.ports; i++)
12
+ printf("\tport%d", i);
13
printf("\tCPU\n");
14
for (i = 0; i < info.ports; i++) {
15
printf("%d", i);
This page took
0.051128 seconds
and
5
git commands to generate.