diff options
author | Imran Khan <gururug@gmail.com> | 2021-12-17 04:09:35 +1100 |
---|---|---|
committer | Rosen Penev <rosenp@gmail.com> | 2021-12-17 14:07:47 -0800 |
commit | 4f4f66fd17fc83a0f3b2501bb235de816a4aa815 (patch) | |
tree | 551130d3fdf9b917dc127f4d1e29b9dae8869ead /net/nft-qos/files | |
parent | 6d095c479ae89cf6518165561392ffe3a49de3f9 (diff) |
nft-qos: fix monitor duplicates
nft command syntax is incorrect
rearrange parameter order
Signed-off-by: Imran Khan <gururug@gmail.com>
Diffstat (limited to 'net/nft-qos/files')
-rw-r--r-- | net/nft-qos/files/lib/monitor.sh | 2 |
1 files changed, 1 insertions, 1 deletions
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() { # <family> <chain> <ip> - 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() { # <mac> <ip> <hostname> |