summaryrefslogtreecommitdiffstats
path: root/package/network/ipv6/ipv6-support/files/dhcpv6.sh
diff options
context:
space:
mode:
Diffstat (limited to 'package/network/ipv6/ipv6-support/files/dhcpv6.sh')
-rwxr-xr-xpackage/network/ipv6/ipv6-support/files/dhcpv6.sh5
1 files changed, 2 insertions, 3 deletions
diff --git a/package/network/ipv6/ipv6-support/files/dhcpv6.sh b/package/network/ipv6/ipv6-support/files/dhcpv6.sh
index 9609f04d5..5a668cd9b 100755
--- a/package/network/ipv6/ipv6-support/files/dhcpv6.sh
+++ b/package/network/ipv6/ipv6-support/files/dhcpv6.sh
@@ -20,9 +20,8 @@ if [ "$state" == "started" ]; then
conf_set "$device" accept_ra 2
conf_set "$device" forwarding 2
- # Trigger RS
- conf_set "$device" disable_ipv6 1
- conf_set "$device" disable_ipv6 0
+ # Send RS on interface
+ [ -x /usr/sbin/6relayd ] && /usr/sbin/6relayd -s "$device"
exit 0
elif [ "$state" == "stopped" ]; then