Compare commits

..

1 Commits

Author SHA1 Message Date
Marek Kwaczynski
34402a79b7 ratelimit: fix rate limiting on WiFi-7 devices
Rate limiting was not applied on WiFi-7 devices because their
hostapd interface names use the phy* prefix instead of wlan*.
This patch extends the match pattern to include both wlan* and phy*.

Fixes: WIFI-14884

Signed-off-by: Marek Kwaczynski <marek@shasta.cloud>
2025-07-22 15:10:50 +02:00
2 changed files with 1 additions and 28 deletions

View File

@@ -350,7 +350,7 @@ function run_service() {
printf('-> reload\n');
let list = uctx.list();
for (let obj in list) {
if (!wildcard(obj, 'hostapd.wlan*'))
if (!wildcard(obj, 'hostapd.wlan*') && !wildcard(obj, 'hostapd.phy*'))
continue;
let iface = split(obj, '.')[1];
let device = get_device(devices, req.args.device);

View File

@@ -1,27 +0,0 @@
From 0f590999ea33fb91160aec123a9a74c31623584e Mon Sep 17 00:00:00 2001
From: Paul White <paul@shasta.cloud>
Date: Mon, 21 Jul 2025 22:41:52 +0000
Subject: [PATCH] feeds.default.conf: switch to using git:// instead of
https://
Signed-off-by: Paul White <paul@shasta.cloud>
---
feeds.conf.default | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/feeds.conf.default b/feeds.conf.default
index d467db5627..bafcf8aa98 100644
--- a/feeds.conf.default
+++ b/feeds.conf.default
@@ -1,4 +1,4 @@
-src-git packages https://git.openwrt.org/feed/packages.git;openwrt-23.05
-src-git luci https://git.openwrt.org/project/luci.git;openwrt-23.05
-src-git routing https://git.openwrt.org/feed/routing.git;openwrt-23.05
-src-git telephony https://git.openwrt.org/feed/telephony.git;openwrt-23.05
+src-git packages git://git.openwrt.org/feed/packages.git;openwrt-23.05
+src-git luci git://git.openwrt.org/project/luci.git;openwrt-23.05
+src-git routing git://git.openwrt.org/feed/routing.git;openwrt-23.05
+src-git telephony git://git.openwrt.org/feed/telephony.git;openwrt-23.05
--
2.43.0