[source] 6in4: fix invalid local variable declaration (FS#188)
LEDE Commits
lede-commits at lists.infradead.org
Tue Sep 27 07:23:21 PDT 2016
jow pushed a commit to source.git, branch master:
https://git.lede-project.org/864b2d113ad0815c2444575014e7cf51498944db
commit 864b2d113ad0815c2444575014e7cf51498944db
Author: Jo-Philipp Wich <jo at mein.io>
AuthorDate: Tue Sep 27 16:20:57 2016 +0200
6in4: fix invalid local variable declaration (FS#188)
Remove an invalid local variable declaration in the tunnel update subshell
invocation. Local declarations outside of function scopes are illegal since
the Busybox update to version 1.25.0 .
Signed-off-by: Jo-Philipp Wich <jo at mein.io>
---
package/network/ipv6/6in4/Makefile | 4 ++--
package/network/ipv6/6in4/files/6in4.sh | 2 +-
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/package/network/ipv6/6in4/Makefile b/package/network/ipv6/6in4/Makefile
index 5d9355f..34227ce 100644
--- a/package/network/ipv6/6in4/Makefile
+++ b/package/network/ipv6/6in4/Makefile
@@ -8,7 +8,7 @@
include $(TOPDIR)/rules.mk
PKG_NAME:=6in4
-PKG_VERSION:=23
+PKG_VERSION:=24
PKG_RELEASE:=1
PKG_LICENSE:=GPL-2.0
@@ -19,7 +19,7 @@ define Package/6in4
CATEGORY:=Network
DEPENDS:=@IPV6 +kmod-sit +uclient-fetch
TITLE:=IPv6-in-IPv4 configuration support
- MAINTAINER:=Jo-Philipp Wich <xm at subsignal.org>
+ MAINTAINER:=Jo-Philipp Wich <jo at mein.io>
PKGARCH:=all
endef
diff --git a/package/network/ipv6/6in4/files/6in4.sh b/package/network/ipv6/6in4/files/6in4.sh
index c358a22..45d8ab7 100755
--- a/package/network/ipv6/6in4/files/6in4.sh
+++ b/package/network/ipv6/6in4/files/6in4.sh
@@ -11,7 +11,7 @@
proto_6in4_update() {
sh -c '
- local timeout=5
+ timeout=5
(while [ $((timeout--)) -gt 0 ]; do
sleep 1
More information about the lede-commits
mailing list