From 0f1e7d32afab254a867b8e398612d9522eea3389 Mon Sep 17 00:00:00 2001 From: Kevin Darbyshire-Bryant Date: Fri, 14 Feb 2020 19:23:06 +0000 Subject: [PATCH] miniupnpd: fix sh syntax error Add "use_stun" default to prevent sh: out of range error introduced by c61614a84 Signed-off-by: Kevin Darbyshire-Bryant --- net/miniupnpd/Makefile | 2 +- net/miniupnpd/files/miniupnpd.init | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/net/miniupnpd/Makefile b/net/miniupnpd/Makefile index d3cbf2981c..5d03cdce61 100644 --- a/net/miniupnpd/Makefile +++ b/net/miniupnpd/Makefile @@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=miniupnpd PKG_VERSION:=2.1.20191006 -PKG_RELEASE:=2 +PKG_RELEASE:=3 PKG_SOURCE_URL:=https://miniupnp.tuxfamily.org/files PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz diff --git a/net/miniupnpd/files/miniupnpd.init b/net/miniupnpd/files/miniupnpd.init index 01434e9153..d90c290a71 100644 --- a/net/miniupnpd/files/miniupnpd.init +++ b/net/miniupnpd/files/miniupnpd.init @@ -78,6 +78,7 @@ upnpd() { config_get serial_number config serial_number config_get model_number config model_number config_get uuid config uuid + config_get use_stun config use_stun 0 config_get stun_host config stun_host config_get stun_port config stun_port config_get notify_interval config notify_interval -- 2.30.2