projects
/
openwrt
/
staging
/
rmilecki.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5d77f37
)
Deployment of IPv6 has opened up many more prefixes than just the 2000::/3 space...
author
Travis Kemen
<thepeople@openwrt.org>
Sun, 8 May 2011 17:03:07 +0000
(17:03 +0000)
committer
Travis Kemen
<thepeople@openwrt.org>
Sun, 8 May 2011 17:03:07 +0000
(17:03 +0000)
SVN-Revision: 26857
package/6to4/files/6to4.sh
patch
|
blob
|
history
diff --git
a/package/6to4/files/6to4.sh
b/package/6to4/files/6to4.sh
index cb4a463b012faadd5178c715da0a0733b575bce4..65f4ffa5c2613f731f11f1fbd2b60f05b13907ea 100755
(executable)
--- 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