From 295d77943cd8ddb1b6eb73e900d5b5221ab138e7 Mon Sep 17 00:00:00 2001 From: Kevin Darbyshire-Bryant Date: Thu, 14 May 2020 11:30:12 +0100 Subject: miniupnpd: improve hotplug & interface handling The existing interface selection/detection code was incomprehensible at worst and convoluted at best. The uci config file suggested it understood an external ipv6 interface but in reality the init script took no notice. Re-work it so it is at least comprehendible and takes notice of ipv6 interface details if specified. Update the hotplug script to use the same interface selection/detection code as the init script and take note of ipv6 interface selection, only restarting miniupnpd on interface up events and only if that interface isn't already known (for that ip class) by miniupnpd. For me this has solved numerous 'flaky' startup problems, especially with regard to ipv6. Signed-off-by: Kevin Darbyshire-Bryant --- net/miniupnpd/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'net/miniupnpd/Makefile') diff --git a/net/miniupnpd/Makefile b/net/miniupnpd/Makefile index 4d255dab2..ae95b4a2c 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:=4 +PKG_RELEASE:=5 PKG_SOURCE_URL:=https://miniupnp.tuxfamily.org/files PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz -- cgit v1.2.3