aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux
diff options
context:
space:
mode:
authorMathias Kresin <dev@kresin.me>2016-10-12 19:24:41 +0200
committerMathias Kresin <dev@kresin.me>2016-10-15 09:01:45 +0200
commitb35dd9584e50b02d709f67200572bc49866edf03 (patch)
tree75405bd2e7b5b67373b522a5ca12aed4d2fbfd1e /target/linux
parentc5e48abcc6c09d5f2d55c63985a769c74d245a08 (diff)
downloadupstream-b35dd9584e50b02d709f67200572bc49866edf03.tar.gz
upstream-b35dd9584e50b02d709f67200572bc49866edf03.tar.bz2
upstream-b35dd9584e50b02d709f67200572bc49866edf03.zip
ramips: remove fixed lan/wan interface for switch configs
Don't set the lan/wan interface when using ucidef_add_switch. This results into a wan interface albeit all ports a annotated as lan ports. ucidef_add_switch takes care of setting the correct lan/wan interface according to the annotation of the ports. Signed-off-by: Mathias Kresin <dev@kresin.me>
Diffstat (limited to 'target/linux')
-rwxr-xr-xtarget/linux/ramips/base-files/etc/board.d/02_network1
1 files changed, 0 insertions, 1 deletions
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 5ad9a13b86..7eab5f286a 100755
--- a/target/linux/ramips/base-files/etc/board.d/02_network
+++ b/target/linux/ramips/base-files/etc/board.d/02_network
@@ -24,7 +24,6 @@ ramips_setup_rt3x5x_vlans()
lanports="$port:lan $lanports"
fi
done
- ucidef_set_interfaces_lan_wan "eth0.1" "eth0.2"
ucidef_add_switch "rt305x" $lanports $wanports "6@eth0"
}