diff options
author | Steven Barth <cyrus@openwrt.org> | 2013-05-06 10:20:43 +0000 |
---|---|---|
committer | Steven Barth <cyrus@openwrt.org> | 2013-05-06 10:20:43 +0000 |
commit | 9c1ed6447b742a495463f059132073aae1b209c4 (patch) | |
tree | 6e86f6c19e9c08f301b609f7798cc0afe2f12361 /package/network/ipv6/odhcp6c/files | |
parent | 95e139d0b269f86e575b36ebca4ac7d810398246 (diff) | |
download | upstream-9c1ed6447b742a495463f059132073aae1b209c4.tar.gz upstream-9c1ed6447b742a495463f059132073aae1b209c4.tar.bz2 upstream-9c1ed6447b742a495463f059132073aae1b209c4.zip |
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.
SVN-Revision: 36555
Diffstat (limited to 'package/network/ipv6/odhcp6c/files')
-rwxr-xr-x | package/network/ipv6/odhcp6c/files/dhcpv6.script | 6 |
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 56f8c39ca4..c81ffee65d 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) |