From b58a13cb2c65b202c0ffe84fa6c02376cb994b7d Mon Sep 17 00:00:00 2001 From: Steven Barth Date: Sun, 13 Jan 2013 17:25:43 +0000 Subject: [PATCH] ipv6-support: don't use disable_ipv6 SVN-Revision: 35134 --- package/network/ipv6/ipv6-support/Makefile | 2 +- package/network/ipv6/ipv6-support/files/dhcpv6.sh | 5 ++--- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/package/network/ipv6/ipv6-support/Makefile b/package/network/ipv6/ipv6-support/Makefile index 0d596d4d3b0..74286e79b87 100644 --- a/package/network/ipv6/ipv6-support/Makefile +++ b/package/network/ipv6/ipv6-support/Makefile @@ -8,7 +8,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=ipv6-support -PKG_VERSION:=2013-01-02 +PKG_VERSION:=2013-01-13 PKG_RELEASE:=1 include $(INCLUDE_DIR)/package.mk diff --git a/package/network/ipv6/ipv6-support/files/dhcpv6.sh b/package/network/ipv6/ipv6-support/files/dhcpv6.sh index 9609f04d5c6..5a668cd9b1a 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