summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
bb14a2f)
2000::/3 space, so a default route of ::/0 is more correct.
Thanks Dave Taht
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26857
3c298f89-4303-0410-b956-
a3cf2f4a3e73
[ "$defaultroute" = 1 ] && {
logger -t "$link" " * Adding default route"
[ "$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
}
uci_set_state network "$cfg" defaultroute 1
}
}
[ "$defaultroute" = "1" ] && {
}
[ "$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
}
ip addr del $local6 dev $link