[ar71xx] fix dir-825-b1 default network config after r21905
[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.040861 seconds and 5 git commands to generate.