aboutsummaryrefslogtreecommitdiffstats
path: root/target
diff options
context:
space:
mode:
authorMathias Kresin <dev@kresin.me>2016-10-12 19:04:08 +0200
committerMathias Kresin <dev@kresin.me>2016-10-15 09:01:45 +0200
commitbbdf2ac305b797545ee0f663b7815c116e276b63 (patch)
treee6909e8d4b61981f33c0f6959be01eb796e2a9d3 /target
parentb35dd9584e50b02d709f67200572bc49866edf03 (diff)
downloadupstream-bbdf2ac305b797545ee0f663b7815c116e276b63.tar.gz
upstream-bbdf2ac305b797545ee0f663b7815c116e276b63.tar.bz2
upstream-bbdf2ac305b797545ee0f663b7815c116e276b63.zip
ramips: tag the CPU switch port
With de5102651501e51c036f88fe9c4dbf6974e5158a the explicit tagging of the CPU port was removed. This leads to a not working default network config, with vlans enabled but disabled CPU tagging, for boards where all switch ports are having the same role. In case the ports are having different roles set, tagging is is set implicit for the CPU port by ucidef_add_switch(). Signed-off-by: Mathias Kresin <dev@kresin.me>
Diffstat (limited to 'target')
-rwxr-xr-xtarget/linux/ramips/base-files/etc/board.d/02_network2
1 files changed, 1 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 7eab5f286a..b884373325 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,7 @@ ramips_setup_rt3x5x_vlans()
lanports="$port:lan $lanports"
fi
done
- ucidef_add_switch "rt305x" $lanports $wanports "6@eth0"
+ ucidef_add_switch "rt305x" $lanports $wanports "6t@eth0"
}
ramips_setup_interfaces()