From 4f4f66fd17fc83a0f3b2501bb235de816a4aa815 Mon Sep 17 00:00:00 2001 From: Imran Khan Date: Fri, 17 Dec 2021 04:09:35 +1100 Subject: [PATCH] nft-qos: fix monitor duplicates nft command syntax is incorrect rearrange parameter order Signed-off-by: Imran Khan --- net/nft-qos/files/lib/monitor.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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() { #