From 53bc8022e3beb1f817aec0d263c4d3bb379dcaf7 Mon Sep 17 00:00:00 2001 From: Viacheslav Hletenko Date: Thu, 25 Aug 2022 12:26:15 +0000 Subject: op-mode: T4645: Show nat source stat missing argument --family As we use in commit 8d4205a9 argument '--family' for the function '_get_raw_data_rules(direction, family)' we must use it and for 'nat.py show_statistics' as it get raw data from the same function --- op-mode-definitions/nat.xml.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'op-mode-definitions') diff --git a/op-mode-definitions/nat.xml.in b/op-mode-definitions/nat.xml.in index e89c3801f..dbc06b930 100644 --- a/op-mode-definitions/nat.xml.in +++ b/op-mode-definitions/nat.xml.in @@ -22,7 +22,7 @@ Show statistics for configured source NAT rules - ${vyos_op_scripts_dir}/nat.py show_statistics --direction source + ${vyos_op_scripts_dir}/nat.py show_statistics --direction source --family inet -- cgit v1.2.3