summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSteven Barth <cyrus@openwrt.org>2013-10-21 10:26:57 +0000
committerSteven Barth <cyrus@openwrt.org>2013-10-21 10:26:57 +0000
commit1ff15bfe8381147e1e89eed49b8dc8f5d840a9a5 (patch)
treea9d789995d4039d409a97dfe32a4c58ad0ce9eb4
parent2215ccf184158acb6a722369050fc3a2a10f7e52 (diff)
downloadmtk-20170518-1ff15bfe8381147e1e89eed49b8dc8f5d840a9a5.zip
mtk-20170518-1ff15bfe8381147e1e89eed49b8dc8f5d840a9a5.tar.gz
mtk-20170518-1ff15bfe8381147e1e89eed49b8dc8f5d840a9a5.tar.bz2
6relayd: reduce fallout of RA spamming a bit
SVN-Revision: 38488
-rw-r--r--package/network/ipv6/6relayd/Makefile4
-rw-r--r--package/network/ipv6/6relayd/files/6relayd.hotplug2
2 files changed, 3 insertions, 3 deletions
diff --git a/package/network/ipv6/6relayd/Makefile b/package/network/ipv6/6relayd/Makefile
index a515b7c..6f3c173 100644
--- a/package/network/ipv6/6relayd/Makefile
+++ b/package/network/ipv6/6relayd/Makefile
@@ -8,14 +8,14 @@
include $(TOPDIR)/rules.mk
PKG_NAME:=6relayd
-PKG_VERSION:=2013-07-26.1
+PKG_VERSION:=2013-10-21
PKG_RELEASE=$(PKG_SOURCE_VERSION)
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
PKG_SOURCE_SUBDIR:=$(PKG_NAME)-$(PKG_VERSION)
PKG_SOURCE_URL:=git://github.com/sbyx/6relayd.git
PKG_SOURCE_PROTO:=git
-PKG_SOURCE_VERSION:=2ed520c500b0fbb484cfad5687eb39a0da43dcf7
+PKG_SOURCE_VERSION:=ad00c3dd9ee42f172870708724858ab502b3a689
PKG_MAINTAINER:=Steven Barth <steven@midlink.org>
diff --git a/package/network/ipv6/6relayd/files/6relayd.hotplug b/package/network/ipv6/6relayd/files/6relayd.hotplug
index 7905282..fc9d680 100644
--- a/package/network/ipv6/6relayd/files/6relayd.hotplug
+++ b/package/network/ipv6/6relayd/files/6relayd.hotplug
@@ -1,6 +1,6 @@
#!/bin/sh
/etc/init.d/6relayd enabled || exit 0
-[ -n "$INTERFACE" ] || exit 0
+[ -n "$INTERFACE" -a "$ACTION" != "ifupdate" ] || exit 0
. /etc/init.d/6relayd
restart_affected "$INTERFACE"