From 6f2520cf6f47bc1d3f9f9f2edc224fc547233dad Mon Sep 17 00:00:00 2001 From: Sean Khan Date: Wed, 10 Jul 2024 15:27:35 -0400 Subject: [PATCH] nss-ecm: Fix syntax error in firewall rule Signed-off-by: Sean Khan --- qca-nss-ecm/Makefile | 2 +- qca-nss-ecm/files/qca-nss-ecm.firewall | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/qca-nss-ecm/Makefile b/qca-nss-ecm/Makefile index 0a55886..6114f91 100644 --- a/qca-nss-ecm/Makefile +++ b/qca-nss-ecm/Makefile @@ -1,7 +1,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=qca-nss-ecm -PKG_RELEASE:=2 +PKG_RELEASE:=3 PKG_SOURCE_URL:=https://git.codelinaro.org/clo/qsdk/oss/lklm/qca-nss-ecm.git PKG_SOURCE_PROTO:=git diff --git a/qca-nss-ecm/files/qca-nss-ecm.firewall b/qca-nss-ecm/files/qca-nss-ecm.firewall index 465e183..affbb94 100644 --- a/qca-nss-ecm/files/qca-nss-ecm.firewall +++ b/qca-nss-ecm/files/qca-nss-ecm.firewall @@ -30,5 +30,5 @@ elif grep -q "fw4" "$FW_SCRIPT"; then nft add rule inet fw4 ecm_rate_limit limit rate 1000/second burst 1000 packets counter return nft add rule inet fw4 ecm_rate_limit counter drop - nft add rule inet fw4 forward_wan ct state new counter jump ecm_rate_limit comment "!fw4: ECM Rate Limit 1000/pps" + nft add rule inet fw4 forward_wan ct state new counter jump ecm_rate_limit comment '"!fw4: ECM Rate Limit 1000/pps"' fi