summaryrefslogtreecommitdiffstats
path: root/package/network/ipv6/odhcp6c/files
diff options
context:
space:
mode:
authorcyrus <cyrus@3c298f89-4303-0410-b956-a3cf2f4a3e73>2013-05-06 10:20:43 +0000
committercyrus <cyrus@3c298f89-4303-0410-b956-a3cf2f4a3e73>2013-05-06 10:20:43 +0000
commit627882f043c66d625b4ab11e5ede23283b9df9b8 (patch)
treebff2fde4a4a0edc802e7ccfb409917c00cd6d1dd /package/network/ipv6/odhcp6c/files
parent4d52d8b65322e77be1021c41f42639f557869753 (diff)
odhcp6c: Make SLAAC-only work without reqprefix=no
Previously if the upstream router did not provide any DHCPv6-service the wan6 interface would not come up even if RAs were received. The new behavior allows the wan6 interface to comeup with RA-only configuration after a timeout of 10s. git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36555 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/network/ipv6/odhcp6c/files')
-rwxr-xr-xpackage/network/ipv6/odhcp6c/files/dhcpv6.script6
1 files changed, 5 insertions, 1 deletions
diff --git a/package/network/ipv6/odhcp6c/files/dhcpv6.script b/package/network/ipv6/odhcp6c/files/dhcpv6.script
index 56f8c39ca..c81ffee65 100755
--- a/package/network/ipv6/odhcp6c/files/dhcpv6.script
+++ b/package/network/ipv6/odhcp6c/files/dhcpv6.script
@@ -78,7 +78,11 @@ teardown_interface() {
}
case "$2" in
- informed|bound|updated|rebound|ra-updated)
+ bound)
+ teardown_interface "$1"
+ setup_interface "$1"
+ ;;
+ informed|updated|rebound|ra-updated)
setup_interface "$1"
;;
started|stopped|unbound)