Browse Source
Merge pull request #15759 from stangri/master-miniupnpd
miniupnpd: disable ext_ip_reserved_ignore by default; fix grammar
lilik-openwrt-22.03
Rosen Penev
3 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with
2 additions and
3 deletions
-
net/miniupnpd/Makefile
-
net/miniupnpd/files/upnpd.config
-
net/miniupnpd/patches/301-ext_ip_reserved_ignore.patch
|
|
@ -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 |
|
|
|
|
|
@ -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;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|