From 9228bd31d008d386b92a82aa68985101502959f9 Mon Sep 17 00:00:00 2001 From: Viacheslav Hletenko Date: Fri, 22 Jul 2022 16:26:16 +0000 Subject: nat: T4545: Rewrite show nat source rules script Rewrite 'show nat source rules' due to a large number of bugs in NAT rules statistics. Use new format 'vyos.opmode module' Ability to get raw_data and formatted_output for the future op-mode rewriting funcitonal Ability to get raw and formatted data --- 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 084e2e7e3..84e999995 100644 --- a/op-mode-definitions/nat.xml.in +++ b/op-mode-definitions/nat.xml.in @@ -16,7 +16,7 @@ Show configured source NAT rules - ${vyos_op_scripts_dir}/show_nat_rules.py --source + ${vyos_op_scripts_dir}/nat.py show_rules --direction source -- cgit v1.2.3