From 262b4a68d27fc401493fcf1d07d2a1b2f01b9988 Mon Sep 17 00:00:00 2001 From: Mohit Mehta Date: Fri, 23 Jan 2009 11:57:08 -0800 Subject: - Fix statistics in "show nat statistics" when target is NETMAP - Script to generate a new output for the "show nat rules" command - Fix Bug 3401 some indication is needed for the excluded rules in the "show nat rules" result --- scripts/vyatta-show-nat.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'scripts/vyatta-show-nat.pl') diff --git a/scripts/vyatta-show-nat.pl b/scripts/vyatta-show-nat.pl index 87baff0..c933e05 100755 --- a/scripts/vyatta-show-nat.pl +++ b/scripts/vyatta-show-nat.pl @@ -30,7 +30,7 @@ while () { $skey = ""; } - if ($skey ne "" && (m/SNAT/ || m/DNAT/ || m/MASQUERADE/ || m/RETURN/)) { + if ($skey ne "" && (m/SNAT/ || m/DNAT/ || m/MASQUERADE/ || m/RETURN/ || m/NETMAP/)) { m/^\s*(\d+[KMG]?)\s+(\d+[KMG]?)\s/; push @{$stats{$skey}}, ($1, $2); } -- cgit v1.2.3