aboutsummaryrefslogtreecommitdiffstats
path: root/package
diff options
context:
space:
mode:
authorTravis Kemen <thepeople@openwrt.org>2011-05-08 17:03:07 +0000
committerTravis Kemen <thepeople@openwrt.org>2011-05-08 17:03:07 +0000
commiteb4109ba7840525f7932b763cacef160d6cfb661 (patch)
tree0decf6e3d3a334502ec7a59d47bac04aa6f4079b /package
parent5d77f370d695c9a70f25ffb8367db64efadaaedd (diff)
downloadupstream-eb4109ba7840525f7932b763cacef160d6cfb661.tar.gz
upstream-eb4109ba7840525f7932b763cacef160d6cfb661.tar.bz2
upstream-eb4109ba7840525f7932b763cacef160d6cfb661.zip
Deployment of IPv6 has opened up many more prefixes than just the 2000::/3 space, so a default route of ::/0 is more correct. Thanks Dave Taht
SVN-Revision: 26857
Diffstat (limited to 'package')
-rwxr-xr-xpackage/6to4/files/6to4.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/package/6to4/files/6to4.sh b/package/6to4/files/6to4.sh
index cb4a463b01..65f4ffa5c2 100755
--- a/package/6to4/files/6to4.sh
+++ b/package/6to4/files/6to4.sh
@@ -160,7 +160,7 @@ setup_interface_6to4() {
[ "$defaultroute" = 1 ] && {
logger -t "$link" " * Adding default route"
- ip -6 route add 2000::/3 via ::192.88.99.1 metric ${metric:-1} dev $link
+ ip -6 route add ::/0 via ::192.88.99.1 metric ${metric:-1} dev $link
uci_set_state network "$cfg" defaultroute 1
}
@@ -239,7 +239,7 @@ stop_interface_6to4() {
}
[ "$defaultroute" = "1" ] && {
- ip -6 route del 2000::/3 via ::192.88.99.1 dev $link metric 1
+ ip -6 route del ::/0 via ::192.88.99.1 dev $link metric 1
}
ip addr del $local6 dev $link