git.99rst.org
/
openwrt-packages.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
| inline |
side by side
(parent:
1019631
)
natmap: allow binding to a port or port range
author
Ray Wang
<redacted>
Fri, 16 Aug 2024 14:40:45 +0000
(22:40 +0800)
committer
Tianling Shen
<redacted>
Fri, 16 Aug 2024 15:06:58 +0000
(23:06 +0800)
Signed-off-by: Ray Wang <redacted>
net/natmap/Makefile
patch
|
blob
|
history
net/natmap/files/natmap.init
patch
|
blob
|
history
diff --git
a/net/natmap/Makefile
b/net/natmap/Makefile
index e4a366e76d60b854f9584190f025fe1843142a5f..63df5c6ce4b2f41f4cbc02ed17e4191f30335eb0 100644
(file)
--- a/
net/natmap/Makefile
+++ b/
net/natmap/Makefile
@@
-2,7
+2,7
@@
include $(TOPDIR)/rules.mk
PKG_NAME:=natmap
PKG_VERSION:=20240813
-PKG_RELEASE:=
1
+PKG_RELEASE:=
2
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=https://github.com/heiher/natmap/releases/download/$(PKG_VERSION)
diff --git
a/net/natmap/files/natmap.init
b/net/natmap/files/natmap.init
index 836b4f3a7aa2628fd991edf32aabe68700dba9d4..d0851ab6841b6cc316faf7620e1d790f4e370d3c 100644
(file)
--- a/
net/natmap/files/natmap.init
+++ b/
net/natmap/files/natmap.init
@@
-24,7
+24,7
@@
validate_section_natmap() {
'interval:uinteger' \
'stun_server:host' \
'http_server:host' \
- 'port:
portrange
' \
+ 'port:
or(port,portrange)
' \
'forward_target:host' \
'forward_port:port' \
'notify_script:file' \
git clone https://git.99rst.org/PROJECT