Merge pull request #15760 from stangri/21.02-miniupnpd
miniupnpd: disable ext_ip_reserved_ignore by default; fix grammar
This commit is contained in:
commit
aa0382f440
3 changed files with 2 additions and 3 deletions
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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;
|
||||
+ }
|
||||
+
|
||||
|
|
Loading…
Reference in a new issue