mirror of
https://github.com/Telecominfraproject/wlan-ap.git
synced 2025-10-30 01:52:51 +00:00
ratelimit: SSIDs with spaces failed to be configured
Fixes: WIFI-12421 Signed-off-by: John Crispin <john@phrozen.org>
This commit is contained in:
@@ -10,7 +10,7 @@ add_rate() {
|
|||||||
config_get ssid "$cfg" ssid
|
config_get ssid "$cfg" ssid
|
||||||
config_get ingress "$cfg" ingress
|
config_get ingress "$cfg" ingress
|
||||||
config_get egress "$cfg" egress
|
config_get egress "$cfg" egress
|
||||||
ubus call ratelimit defaults_set '{"name": "'$ssid'", "rate_ingress": "'$ingress'mbit", "rate_egress": "'$egress'mbit" }'
|
ubus call ratelimit defaults_set "{\"name\": \"$ssid\", \"rate_ingress\": \""$ingress"mbit\", \"rate_egress\": \""$egress"mbit\" }"
|
||||||
}
|
}
|
||||||
|
|
||||||
reload_service() {
|
reload_service() {
|
||||||
|
|||||||
Reference in New Issue
Block a user