diff options
author | Steven Barth <steven@midlink.org> | 2012-12-03 09:18:53 +0000 |
---|---|---|
committer | Steven Barth <steven@midlink.org> | 2012-12-03 09:18:53 +0000 |
commit | 70d19c877a152d985107dd81b6799832671f36cc (patch) | |
tree | a5d9e3e1590124b8859965dff2621886cd544548 /package/network/ipv6/ipv6-support/files/dhcpv6.sh | |
parent | 0789334c3c80bd0e7c9bb057e9ab4c8750ddfd2a (diff) | |
download | master-187ad058-70d19c877a152d985107dd81b6799832671f36cc.tar.gz master-187ad058-70d19c877a152d985107dd81b6799832671f36cc.tar.bz2 master-187ad058-70d19c877a152d985107dd81b6799832671f36cc.zip |
ipv6-support: Second Iteration
* mode 'downstream' renamed to 'router'
* mode 'upstream' renamed to 'dhcpv6'
* mode 'relay' added
* cleanups and minor bugfixes in state handling
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34466 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/network/ipv6/ipv6-support/files/dhcpv6.sh')
-rwxr-xr-x | package/network/ipv6/ipv6-support/files/dhcpv6.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/package/network/ipv6/ipv6-support/files/dhcpv6.sh b/package/network/ipv6/ipv6-support/files/dhcpv6.sh index 67fa174d17..1d19a681d4 100755 --- a/package/network/ipv6/ipv6-support/files/dhcpv6.sh +++ b/package/network/ipv6/ipv6-support/files/dhcpv6.sh @@ -27,11 +27,11 @@ done local prefix_fallback config_get prefix_fallback "$network" prefix_fallback [ "$prefix_fallback" == "relay" -a -z "$PREFIXES" -a "$state" != "unbound" ] && - restart_relay "$network" 1 + restart_relay "$network" "fallback" # Disable relay if requested [ "$prefix_fallback" != "relay" -o -n "$PREFIXES" -o "$state" == "unbound" ] && - stop_relay "$network" + restart_relay "$network" # Operations in case of success |