projects
/
openwrt
/
staging
/
neocturne.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c5e48ab
)
ramips: remove fixed lan/wan interface for switch configs
author
Mathias Kresin
<dev@kresin.me>
Wed, 12 Oct 2016 17:24:41 +0000
(19:24 +0200)
committer
Mathias Kresin
<dev@kresin.me>
Sat, 15 Oct 2016 07:01:45 +0000
(09:01 +0200)
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>
target/linux/ramips/base-files/etc/board.d/02_network
patch
|
blob
|
history
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 5ad9a13b86d53f3d570cf2eb66a25c493424567f..7eab5f286a1aee4a6efa6c39dfbeea24a052a57b 100755
(executable)
--- 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"
}