From 7d3baf4131083226f877c1f571f1ae0cb025c018 Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Fri, 4 May 2007 22:10:40 +0000 Subject: [PATCH] add qos-scripts connbytes match from #1618 SVN-Revision: 7091 --- package/qos-scripts/files/usr/lib/qos/generate.sh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/package/qos-scripts/files/usr/lib/qos/generate.sh b/package/qos-scripts/files/usr/lib/qos/generate.sh index a3c9f175c9..64e2fc6593 100755 --- a/package/qos-scripts/files/usr/lib/qos/generate.sh +++ b/package/qos-scripts/files/usr/lib/qos/generate.sh @@ -111,6 +111,11 @@ parse_matching_rule() { esac ports=1 ;; + *:connbytes) + value="$(echo "$value" | sed -e 's,-,:,g')" + add_insmod ipt_connbytes + append "$var" "-m connbytes --connbytes $value --connbytes-dir both --connbytes-mode bytes" + ;; 1:pktsize) value="$(echo "$value" | sed -e 's,-,:,g')" add_insmod ipt_length -- 2.30.2