From ec41a6a08ce79da472372fde532136643153f752 Mon Sep 17 00:00:00 2001 From: Steven Barth Date: Mon, 28 Jan 2013 14:07:27 +0000 Subject: [PATCH] netifd: IPv6 sysctl, restart IPv6 in static mode to send RS SVN-Revision: 35347 --- package/network/config/netifd/Makefile | 2 +- .../config/netifd/files/etc/hotplug.d/iface/10-ipv6-static | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/package/network/config/netifd/Makefile b/package/network/config/netifd/Makefile index b7baf05da8..a8f4adaa0c 100644 --- a/package/network/config/netifd/Makefile +++ b/package/network/config/netifd/Makefile @@ -1,7 +1,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=netifd -PKG_VERSION:=2013-01-28 +PKG_VERSION:=2013-01-28.1 PKG_RELEASE=$(PKG_SOURCE_VERSION) PKG_SOURCE_PROTO:=git diff --git a/package/network/config/netifd/files/etc/hotplug.d/iface/10-ipv6-static b/package/network/config/netifd/files/etc/hotplug.d/iface/10-ipv6-static index 9f5b72716b..7f671b1c21 100644 --- a/package/network/config/netifd/files/etc/hotplug.d/iface/10-ipv6-static +++ b/package/network/config/netifd/files/etc/hotplug.d/iface/10-ipv6-static @@ -10,6 +10,10 @@ case "$ACTION" in if [ "$proto" = "static" -a "$ip6slaac" = "1" ]; then echo 2 > "/proc/sys/net/ipv6/conf/$DEVICE/accept_ra" echo 2 > "/proc/sys/net/ipv6/conf/$DEVICE/forwarding" + + # Though this should be save here, it is not recommended + echo 1 > "/proc/sys/net/ipv6/conf/$DEVICE/disable_ipv6" + echo 0 > "/proc/sys/net/ipv6/conf/$DEVICE/disable_ipv6" fi ;; esac -- 2.25.1