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 4 years ago
committed by GitHub
parent
commit
dd0ce8c028
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 2 additions and 3 deletions
  1. +1
    -1
      net/miniupnpd/Makefile
  2. +0
    -1
      net/miniupnpd/files/upnpd.config
  3. +1
    -1
      net/miniupnpd/patches/301-ext_ip_reserved_ignore.patch

+ 1
- 1
net/miniupnpd/Makefile 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


+ 0
- 1
net/miniupnpd/files/upnpd.config 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


+ 1
- 1
net/miniupnpd/patches/301-ext_ip_reserved_ignore.patch 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;
+ }
+


Loading…
Cancel
Save