[PATCH] Fix port names.

Lev levente.kovacs at intelliport.hu
Mon Jun 25 11:55:00 EDT 2018


---
 target/linux/ramips/base-files/etc/board.d/02_network | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/target/linux/ramips/base-files/etc/board.d/02_network
b/target/linux/ramips/base-files/etc/board.d/02_network
index 1778dc9329..25cabdad34 100755
--- a/target/linux/ramips/base-files/etc/board.d/02_network
+++ b/target/linux/ramips/base-files/etc/board.d/02_network
@@ -280,7 +280,7 @@ ramips_setup_interfaces()
         ;;
     wizfi630a)
         ucidef_add_switch "switch0" \
-            "1:lan" "2:lan" "0:wan" "6 at eth0"
+            "0:lan" "1:lan" "2:wan" "6 at eth0"
         ;;
     *)
         RT3X5X=`cat /proc/cpuinfo | egrep "(RT3.5|RT5350)"`
-- 
2.11.0



On Tue, Jun 26, 2018 at 8:41 AM, Alexandru Ardelean
<ardeleanalex at gmail.com> wrote:
> On Mon, Jun 25, 2018 at 6:41 PM, Levente <leventelist at gmail.com> wrote:
>> Hi,
>>
>>
>> Could you tell me how is /etc/board.json generated? There might be a
>> bug in this file, I'd like to fix.
>>
>
> It's the config_generate script that creates it:
> https://github.com/openwrt/openwrt/blob/master/package/base-files/files/bin/config_generate
>
> Alex
>
>>
>> Thanks,
>> Levente
>>
>> _______________________________________________
>> openwrt-devel mailing list
>> openwrt-devel at lists.openwrt.org
>> https://lists.openwrt.org/listinfo/openwrt-devel

_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/listinfo/openwrt-devel



More information about the openwrt-devel mailing list