miniupnpd: disable ext_ip_reserved_ignore by default; fix grammar

Signed-off-by: Stan Grishin <stangri@melmac.net>
This commit is contained in:
Stan Grishin 2021-06-02 04:52:50 +00:00
parent 888a2d2313
commit dc881068b9
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;
+ }
+