Merge pull request #15759 from stangri/master-miniupnpd

miniupnpd: disable ext_ip_reserved_ignore by default; fix grammar
This commit is contained in:
Rosen Penev 2021-06-02 20:23:21 -07:00 committed by GitHub
commit dd0ce8c028
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 2 additions and 3 deletions

View File

@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=miniupnpd
PKG_VERSION:=2.2.2
PKG_RELEASE:=1
PKG_RELEASE:=2
PKG_SOURCE_URL:=https://miniupnp.tuxfamily.org/files
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz

View 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

View 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;
+ }
+