aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSteven Barth <steven@midlink.org>2013-01-28 14:07:27 +0000
committerSteven Barth <steven@midlink.org>2013-01-28 14:07:27 +0000
commit88d95b7accf7927a59d857415988d27d6227a739 (patch)
tree2bde5b028b2ec8c8506c3a959fc9936263c7880a
parent0f6d7ebb06567e86ce7f77cd52fe81126756494e (diff)
downloadupstream-88d95b7accf7927a59d857415988d27d6227a739.tar.gz
upstream-88d95b7accf7927a59d857415988d27d6227a739.tar.bz2
upstream-88d95b7accf7927a59d857415988d27d6227a739.zip
netifd: IPv6 sysctl, restart IPv6 in static mode to send RS
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35347 3c298f89-4303-0410-b956-a3cf2f4a3e73
-rw-r--r--package/network/config/netifd/Makefile2
-rw-r--r--package/network/config/netifd/files/etc/hotplug.d/iface/10-ipv6-static4
2 files changed, 5 insertions, 1 deletions
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