miniupnpd: disable ext_ip_reserved_ignore by default; fix grammar 15760/head
authorStan Grishin <stangri@melmac.net>
Wed, 2 Jun 2021 04:56:56 +0000 (04:56 +0000)
committerStan Grishin <stangri@melmac.net>
Wed, 2 Jun 2021 04:56:56 +0000 (04:56 +0000)
Signed-off-by: Stan Grishin <stangri@melmac.net>
net/miniupnpd/Makefile
net/miniupnpd/files/upnpd.config
net/miniupnpd/patches/301-ext_ip_reserved_ignore.patch

index 64e7667a466b93a91e29f4d17387eb55f71ec803..b597b596f96cefc4029ebb590f3c59da56143632 100644 (file)
@@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
 
 PKG_NAME:=miniupnpd
 PKG_VERSION:=2.2.1
-PKG_RELEASE:=1
+PKG_RELEASE:=2
 
 PKG_SOURCE_URL:=https://miniupnp.tuxfamily.org/files
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
index 7c408683c83326adca8b4ab14347c6bd01235116..bd7c3ec4007dce6b916f7895822964e67458b3a9 100644 (file)
@@ -12,7 +12,6 @@ config upnpd config
        option port             5000
        option upnp_lease_file  /var/run/miniupnpd.leases
        option igdv1            1
-       option ext_ip_reserved_ignore '1'
 
 config perm_rule
        option action           allow
index 55551eb301c54f18b6f36024f13de79504b4d210..3a498720e7535addb377266fd16739049bd43993 100644 (file)
@@ -24,7 +24,7 @@ Date:   Sun Jul 5 10:42:52 2020 +0800
        size_t i;
  
 +      if(GETFLAG(EXTIPRESERVEDIGNOREMASK)) {
-+              syslog(LOG_NOTICE, "private/reserved address checking is ignore");
++              syslog(LOG_NOTICE, "private/reserved address checking is ignored");
 +              return 0;
 +      }
 +