ar71xx: fix switch-config for dir-825-c1
authorGabor Juhos <juhosg@openwrt.org>
Wed, 13 Feb 2013 16:36:23 +0000 (16:36 +0000)
committerGabor Juhos <juhosg@openwrt.org>
Wed, 13 Feb 2013 16:36:23 +0000 (16:36 +0000)
Signed-off-by: Alexander Stadler <sa.maillists@univie.ac.at>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 35588

target/linux/ar71xx/base-files/etc/uci-defaults/02_network

index df2d98bc4a74eb58d29a5a7b9f08b5d0fdc32def..7d825d7a10cb4b1bf66d9594718f55c2fa95f9d6 100755 (executable)
@@ -62,13 +62,6 @@ tew-673gru)
        ucidef_add_switch_vlan "switch0" "1" "0 1 2 3 5t"
        ;;
 
-dir-825-c1)
-       ucidef_set_interfaces_lan_wan "eth0.1" "eth0.2"
-       ucidef_add_switch "switch0" "1" "1"
-       ucidef_add_switch_vlan "switch0" "1" "0t 2 3 4 5"
-       ucidef_add_switch_vlan "switch0" "2" "0t 1"
-       ;;
-
 nbg460n_550n_550nh)
        ucidef_set_interfaces_lan_wan "eth0" "eth1"
        ucidef_add_switch "switch0" "1" "1"
@@ -181,6 +174,7 @@ wzr-hp-g300nh)
        ucidef_add_switch_vlan "switch0" "1" "0 1 2 3 5t"
        ;;
 
+dir-825-c1|\
 wndr4300)
        ucidef_set_interfaces_lan_wan "eth0.1" "eth0.2"
        ucidef_add_switch "switch0" "1" "1"