mirror of
git://git.openwrt.org/openwrt/openwrt.git
synced 2025-01-16 11:51:07 +00:00
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
This commit is contained in:
parent
5d77f370d6
commit
eb4109ba78
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user