Delete .github/diy/patches/luci-app-upnp.patch

This commit is contained in:
kiddin9 2026-03-23 03:40:44 +08:00 committed by GitHub
parent 1bb5995543
commit faaff0a8f8
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1,11 +0,0 @@
--- a/luci-app-upnp/root/usr/share/rpcd/ucode/luci.upnp
+++ b/luci-app-upnp/root/usr/share/rpcd/ucode/luci.upnp
@@ -46,7 +46,7 @@ const methods = {
if (ipt) {
for (let line = ipt.read('line'); length(line); line = ipt.read('line')) {
- let m = match(line, /^([0-9]+)\s+([a-z]+).+dpt:([0-9]+) to:(\S+):([0-9]+)/);
+ let m = match(line, /^([0-9]+).*\s+([a-z]+).+dpt:([0-9]+) to:(\S+):([0-9]+)/);
if (m) {
push(rules, {