diff options
author | Mathias Kresin <dev@kresin.me> | 2016-10-12 19:24:41 +0200 |
---|---|---|
committer | Mathias Kresin <dev@kresin.me> | 2016-10-15 09:01:45 +0200 |
commit | b35dd9584e50b02d709f67200572bc49866edf03 (patch) | |
tree | 75405bd2e7b5b67373b522a5ca12aed4d2fbfd1e /target/linux/ramips/base-files | |
parent | c5e48abcc6c09d5f2d55c63985a769c74d245a08 (diff) | |
download | mtk-20170518-b35dd9584e50b02d709f67200572bc49866edf03.zip mtk-20170518-b35dd9584e50b02d709f67200572bc49866edf03.tar.gz mtk-20170518-b35dd9584e50b02d709f67200572bc49866edf03.tar.bz2 |
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/ramips/base-files')
-rwxr-xr-x | target/linux/ramips/base-files/etc/board.d/02_network | 1 |
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 5ad9a13..7eab5f2 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" } |