From 5a2ebe4b982d38eb8f7405164c1e7aaf3a08fb22 Mon Sep 17 00:00:00 2001 From: cyrus Date: Mon, 21 Jan 2013 10:42:31 +0000 Subject: 6relayd: avoid a race-condition with looping RAs git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35260 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- package/network/ipv6/6relayd/Makefile | 2 +- package/network/ipv6/6relayd/files/6relayd.init | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) (limited to 'package/network/ipv6') diff --git a/package/network/ipv6/6relayd/Makefile b/package/network/ipv6/6relayd/Makefile index 8b1666cb8..a0b504f96 100644 --- a/package/network/ipv6/6relayd/Makefile +++ b/package/network/ipv6/6relayd/Makefile @@ -8,7 +8,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=6relayd -PKG_VERSION:=2013-01-15 +PKG_VERSION:=2013-01-21 PKG_RELEASE=$(PKG_SOURCE_VERSION) PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2 diff --git a/package/network/ipv6/6relayd/files/6relayd.init b/package/network/ipv6/6relayd/files/6relayd.init index 790396e57..74b9d52f7 100644 --- a/package/network/ipv6/6relayd/files/6relayd.init +++ b/package/network/ipv6/6relayd/files/6relayd.init @@ -39,6 +39,7 @@ start_6relayd() { master="$slave" else [ -n "$slave" ] && append slaves "$slave" + echo 1 > "/proc/sys/net/ipv6/conf/$slave/forwarding" fi done -- cgit v1.2.3