From: Imran Khan Date: Thu, 16 Dec 2021 17:09:35 +0000 (+1100) Subject: nft-qos: fix monitor duplicates X-Git-Url: http://git.99rst.org/?a=commitdiff_plain;h=4f4f66fd17fc83a0f3b2501bb235de816a4aa815;p=openwrt-packages.git nft-qos: fix monitor duplicates nft command syntax is incorrect rearrange parameter order Signed-off-by: Imran Khan --- diff --git a/net/nft-qos/files/lib/monitor.sh b/net/nft-qos/files/lib/monitor.sh index 54de88eb3..ae10dc4a7 100644 --- a/net/nft-qos/files/lib/monitor.sh +++ b/net/nft-qos/files/lib/monitor.sh @@ -6,7 +6,7 @@ . /lib/nft-qos/core.sh qosdef_monitor_get_ip_handle() { # - echo $(nft list chain $1 nft-qos-monitor $2 -a 2>/dev/null | grep $3 | awk '{print $11}') + echo $(nft -a list chain $1 nft-qos-monitor $2 2>/dev/null | grep $3 | awk '{print $11}') } qosdef_monitor_add() { #