Skip to content
Snippets Groups Projects
Commit b35dd958 authored by Mathias Kresin's avatar Mathias Kresin
Browse files

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: default avatarMathias Kresin <dev@kresin.me>
parent c5e48abc
No related branches found
No related tags found
No related merge requests found
...@@ -24,7 +24,6 @@ ramips_setup_rt3x5x_vlans() ...@@ -24,7 +24,6 @@ ramips_setup_rt3x5x_vlans()
lanports="$port:lan $lanports" lanports="$port:lan $lanports"
fi fi
done done
ucidef_set_interfaces_lan_wan "eth0.1" "eth0.2"
ucidef_add_switch "rt305x" $lanports $wanports "6@eth0" ucidef_add_switch "rt305x" $lanports $wanports "6@eth0"
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment