From f38729bd8d448faa578ccd5ab24b024c994522e0 Mon Sep 17 00:00:00 2001
From: Viacheslav Hletenko <v.gletenko@vyos.io>
Date: Thu, 28 Jul 2022 12:37:15 +0000
Subject: nat: T4543: Fix and rewrite show nat source statistics

Rewrite "show nat source statistics"
Use new format 'vyos.opmode module'
Ability to get raw and formatted output
---
 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 84e999995..b0ec8989f 100644
--- a/op-mode-definitions/nat.xml.in
+++ b/op-mode-definitions/nat.xml.in
@@ -22,7 +22,7 @@
                 <properties>
                   <help>Show statistics for configured source NAT rules</help>
                 </properties>
-                <command>${vyos_op_scripts_dir}/show_nat_statistics.py --source</command>
+                <command>${vyos_op_scripts_dir}/nat.py show_statistics --direction source</command>
               </node>
               <node name="translations">
                 <properties>
-- 
cgit v1.2.3